Search found 4 matches

by Bednarus3
Tue Dec 11, 2018 4:51 pm
Forum: InpOut32 (x64)
Topic: Prevent accessing LPT port by another application
Replies: 6
Views: 18577

Re: Prevent accessing LPT port by another application

Thank You for Your time. I leave my solution like it is. The risk that another process use LPT port while my app is running is pretty small these days. I have asked because I wonted to improve my software. Eeprom programmer that I have built is for people who can barely use soldering iron. It must b...
by Bednarus3
Mon Dec 10, 2018 4:30 pm
Forum: InpOut32 (x64)
Topic: Prevent accessing LPT port by another application
Replies: 6
Views: 18577

Re: Prevent accessing LPT port by another application

It is quite old eeprom and there is no reasonable price programmers to buy.
by Bednarus3
Sun Dec 09, 2018 5:29 pm
Forum: InpOut32 (x64)
Topic: Prevent accessing LPT port by another application
Replies: 6
Views: 18577

Re: Prevent accessing LPT port by another application

It is quite danger to eeprom when I connect programmer with it to LPT port and for example accidentally print some document to LPT printer. I need to make my program safe from any situation like this. I know nobody use LPT printer any more but this is only example.
by Bednarus3
Sun Dec 09, 2018 2:21 pm
Forum: InpOut32 (x64)
Topic: Prevent accessing LPT port by another application
Replies: 6
Views: 18577

Prevent accessing LPT port by another application

I have written C# app that program some eeprom. How can I prevent LPT port from accessing by another process while my app is running? I mean something like c# SerialPort.Open(). After that any other process can't access COM port until SerialPort.Close() instruction.