Re: Problem with opening COM2
From: Bula Zhang (zhangzhiqun_at_msn.com)
Date: 05/04/04
- Next message: Michel: "p2p message queue question"
- Previous message: Josu Zamarripa: "Re: How can I know a event when momory card insert or eject ?"
- In reply to: Tony: "Problem with opening COM2"
- Next in thread: Tony: "Re: Problem with opening COM2"
- Reply: Tony: "Re: Problem with opening COM2"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 4 May 2004 19:16:42 +0800
Hi
You should use the remote registry edit to confirm the COM2 is OK. It's in
[HKLM\Driver\Active...]
-- -= Your eFriend, BulaConsultant=- Bula Zhang zhangzhiqun@msn.com "Tony" <tonytony_cch@hotmail.com> дÈëÓʼþ news:u%23KOoXbMEHA.2976@TK2MSFTNGP10.phx.gbl... > 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: Michel: "p2p message queue question"
- Previous message: Josu Zamarripa: "Re: How can I know a event when momory card insert or eject ?"
- In reply to: Tony: "Problem with opening COM2"
- Next in thread: Tony: "Re: Problem with opening COM2"
- Reply: Tony: "Re: Problem with opening COM2"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|