Re: Problem with opening COM2

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Bula Zhang (zhangzhiqun_at_msn.com)
Date: 05/04/04


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
>
>


Relevant Pages

  • Re: Windows Ce 4.2 stop debug on com 1
    ... serial ports and com2 is taken by a touch screen. ... I have followed all kind of tutorials on how to disable debugging on com1 and at this point the debugging is off but i can't open com1 after Win ce boots. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Listening to a rs232 com port ?
    ... you need two more com port, on the same pc or on another one ... So you cannot open com1 again. ... You deconnect the cable which arrive in com1 and connect it to com2. ... You connect a null modem cable between com3 and com1. ...
    (alt.comp.lang.borland-delphi)
  • Problem with opening COM2
    ... Currently I am starting to develop a project that use the COM port to ... I had written a program to open COM1 and COM2, ... windows CE Emulator 4.1 for testing. ...
    (microsoft.public.windowsce.app.development)