pandry
10-07-2004, 02:35 AM
HI all,
I am facing a problem with COM port release. I will explain my scenario,
I am working on a device which has WINCE OS and VC++ environment. I am writing a demo program which connect to GPRS or GSM N/W. The problem is
1. The program trying to connect to GPRS provider N/W using RAS dial (COM6), If Unable to connect GPRS N/W retries 3 times.
2. Suppose all 3 attempts went off, immediatly my program will try to connect to GSM N/W using COM6 port and will try to open COM port with CreateFile method, but fails with Error 55.
4. I have already released the resource of GPRS N/W (COM6) using RAS Hangup method.
4. I wan na know about any other device specific issue or any other way I could solve the above error.
Please I am requesting you , helping me to solve the above problem (error no 55).
Thanks in advance,
waiting for your reply.
Thanking you and Regds
Pandry
I am facing a problem with COM port release. I will explain my scenario,
I am working on a device which has WINCE OS and VC++ environment. I am writing a demo program which connect to GPRS or GSM N/W. The problem is
1. The program trying to connect to GPRS provider N/W using RAS dial (COM6), If Unable to connect GPRS N/W retries 3 times.
2. Suppose all 3 attempts went off, immediatly my program will try to connect to GSM N/W using COM6 port and will try to open COM port with CreateFile method, but fails with Error 55.
4. I have already released the resource of GPRS N/W (COM6) using RAS Hangup method.
4. I wan na know about any other device specific issue or any other way I could solve the above error.
Please I am requesting you , helping me to solve the above problem (error no 55).
Thanks in advance,
waiting for your reply.
Thanking you and Regds
Pandry