Hello.
I have the following setup:
1. Windows Server 2003.
2. GSM modem attached to the serial I/O port COM1.
3. RAS is configured for dial-in connections and it works fine.
4. Self-made windows application that wants to access the modem
through COM1 for sending sms messages.
However, I get error 5 (access is denied) when my application (no.4 above)
tries to open the COM1 port using the CreateFile method in the Platform SDK.
So, probably the COM1 port is occupied by RAS when my application tries to
open it.
Have anybody have similiar problems and, if so, how did you solve them? Any
suggestion on how to proceed?
Regards,
Peter Jansson
http://jansson.net/