RAS Server for Win CE 4.20 (x86)
From: Popoi (Popoi_at_discussions.microsoft.com)
Date: 08/17/04
- Next message: Roberto Rocco: "Re: How to turn off ActiveSync programmatically?"
- Previous message: r_z_aret_at_pen_fact.com: "Re: Newbie Question: Missing functions"
- Next in thread: Jeff Kelley [MS]: "Re: RAS Server for Win CE 4.20 (x86)"
- Reply: Jeff Kelley [MS]: "Re: RAS Server for Win CE 4.20 (x86)"
- Reply: Jeff Kelley [MS]: "Re: RAS Server for Win CE 4.20 (x86)"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 17 Aug 2004 10:09:03 -0700
Hi all
I'm trying to implement the RAS server in Windows CE 4.20 with little
success. I'm trying to follow the bullet points MS set up for starting it,
but i can't seem to get it running.
What i have so far is a simple dialog app that does some basic querying of
the RAS server, i can enable and disable it.
When i get the line information i find 2 lines: External Modem COM1: (a line
i attempted to create) and Serial Cable on COM1: (something that was probably
created by a code example from MS).
However, when i query these lines using RASCNTL_SERVER_GET_STATUS in
RasIOControl() i read the bEnabled value as 0. If i try to Enable any of
these lines, using RASCNTL_SERVER_LINE_ENABLE, i get success, but when i
query again, bEnable is FALSE.
Secondly: Do i need to set up baud rate, parity, databits, etc for serial
connections and modems? If so, how is that done? I've read about the mystical
DeviceConfig byte array that is undocumented... am i on the right track, and
how can i use it? I've been trying to use RasDevConfigDialogEdit() with zero
success. It returns an error value of 659. The documentation does not specify
what this means, or what defines are returned by the function.
Any help or tips would be appreciated.!
Cheers
- Next message: Roberto Rocco: "Re: How to turn off ActiveSync programmatically?"
- Previous message: r_z_aret_at_pen_fact.com: "Re: Newbie Question: Missing functions"
- Next in thread: Jeff Kelley [MS]: "Re: RAS Server for Win CE 4.20 (x86)"
- Reply: Jeff Kelley [MS]: "Re: RAS Server for Win CE 4.20 (x86)"
- Reply: Jeff Kelley [MS]: "Re: RAS Server for Win CE 4.20 (x86)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|