Re: How do I Open a COM-Port in Shared-Mode

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: (ctacke/)
Date: 02/12/05


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



Relevant Pages

  • Re: Fax configuration assistance required
    ... from my DSL modem feeds into one side and the line from my fax modem ... in my bedroom to filter out the noise from the DSL and/or fax connection. ... Firewall and 4 Port Switch is connected to the Modem port on the DSL filter ...
    (microsoft.public.windowsxp.print_fax)
  • network hardware- compatible?
    ... dlink DES-1005D 5 ports switch. ... the broadband connection to sister as a new year present. ... modem has 1 RJ45 port on the back. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Modem-to-Modem connection
    ... You are aware that you can connect two computers via a null modem cable ... COM port into an ANALOG signal for transmission over POTS (Plain Old ... The HAYES COMMAND set includes commands to facilitate POTS, ... Establish the connection and then pass that connection off to another ...
    (comp.dcom.modems)
  • Re: Correction
    ... Normally to physically disconnect is just a matter of reaching for the ... >> I have an ADSL connection which polls my computer from time to time, ... > disallow each and every port with Windows Firewall? ...
    (microsoft.public.windowsxp.messenger)
  • Re: Using Remote Desktop From an SBS Domain
    ... when you tried to RDP while attached directly to a port on your router? ... Internet to initiate an IP conversation with your computer. ... This situation is different than if you ran your own NAT connection sharing ...
    (microsoft.public.windows.server.sbs)