G
Gonçalo Boléo
Hi!
I'm trying to develop a print mechanism each time a file is placed in a
certain folder.
I'm using a Windows Service and FileSystemWatcher class to implement this.
Printing to LPT1 port is doing using unmanaged function CreateFile as
described in MSDN.
My code works fine in a console application but in a Windows Service
(running with my credentials) when i call CreateFile i got the following
error: "The system cannot find the file specified".
Can anyone help me?
Thanks,
Gonçalo Boléo
I'm trying to develop a print mechanism each time a file is placed in a
certain folder.
I'm using a Windows Service and FileSystemWatcher class to implement this.
Printing to LPT1 port is doing using unmanaged function CreateFile as
described in MSDN.
My code works fine in a console application but in a Windows Service
(running with my credentials) when i call CreateFile i got the following
error: "The system cannot find the file specified".
Can anyone help me?
Thanks,
Gonçalo Boléo