Problem with opening COM2
From: Tony (tonytony_cch_at_hotmail.com)
Date: 05/04/04
- Next message: Josu Zamarripa: "Re: How can I know a event when momory card insert or eject ?"
- Previous message: KISS: "How can I know a event when momory card insert or eject ?"
- Next in thread: Bula Zhang: "Re: Problem with opening COM2"
- Reply: Bula Zhang: "Re: Problem with opening COM2"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 4 May 2004 16:57:56 +0800
Hi all,
Currently I am starting to develop a project that use the COM port to
communicate. I had written a program to open COM1 and COM2, by calling the
CreateFile API. However, I can only open COM1, but cannot open COM2, and
the GetLastError return 55 which stands for "The specified network resource
or device is no longer available". I am using Visual Studio 2003 in Windows
2000 Server, windows CE Emulator 4.1 for testing.
I have searched the web for more information, it just look like something
else in the CE already has the port open.
Can anyone tell me how to solve this problem?
Thanks in advance.
Regards,
Tony
- Next message: Josu Zamarripa: "Re: How can I know a event when momory card insert or eject ?"
- Previous message: KISS: "How can I know a event when momory card insert or eject ?"
- Next in thread: Bula Zhang: "Re: Problem with opening COM2"
- Reply: Bula Zhang: "Re: Problem with opening COM2"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|