Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Aug : Open Serial Port in Windows Service

www.cryer.info
Managed Newsgroup Archive

Open Serial Port in Windows Service

Subject:Open Serial Port in Windows Service
Posted by:"Roger Lascelles" (rogerlasatoptusnet.com.au)
Date:Mon, 1 Aug 2005 15:13:13 +1000

I am using CreateFile to open a serial port, but no luck inside a Windows
Service.  Should I expect this to work ?

Could this be a security issue ?  I notice that CreateFile takes a
lpSecurityAttributes parameter.

The code works when run in a console app.

Thanks
Roger Lascelles

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive