Re: How do I Open a COM-Port in Shared-Mode
From:
Date: 02/12/05
- Next message: Danny Ni: "Pocket PC generating characters not recognized by XML"
- Previous message: news.microsoft.com: "Re: save image from http"
- In reply to: ingo: "How do I Open a COM-Port in Shared-Mode"
- Next in thread: David Pope: "Re: How do I Open a COM-Port in Shared-Mode"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Feb 2005 20:58:23 -0500
CE serial ports do not allow multiple threads to open them.
-Chris
"ingo" <chringo@yahoo.de> wrote in message
news:%23$ptFPFEFHA.3992@tk2msftngp13.phx.gbl...
> Hi,
> my PPC has an internal GSM-Card (Siemens MC45).
> I have to switch on the Modem, and send the PIN.
> From the Connectionmanager I want start one Connection.
>
> I can open the right Port, send the PIN and I can dail a Number.
> But I cant use any Connection from the Connectionmanger ("Could not open
> the
> Port ").
>
> I Open the Port with.
>
> CString sPort = _T("COM4:");
> m_hPort = CreateFile((LPCTSTR) sPort, GENERIC_READ | GENERIC_WRITE ,
> FILE_SHARE_READ |FILE_SHARE_WRITE , NULL, OPEN_EXISTING, 0, NULL);
>
> Any Idea?
>
> Thank you
> Ingo
>
>
- Next message: Danny Ni: "Pocket PC generating characters not recognized by XML"
- Previous message: news.microsoft.com: "Re: save image from http"
- In reply to: ingo: "How do I Open a COM-Port in Shared-Mode"
- Next in thread: David Pope: "Re: How do I Open a COM-Port in Shared-Mode"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|