RAS Server for Win CE 4.20 (x86)

From: Popoi (Popoi_at_discussions.microsoft.com)
Date: 08/17/04


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



Relevant Pages

  • RAS Server does not authenticate
    ... I am using the application that comes with the platform builder RASDEMO->RASSERVER to start/stop the RAS server. ... Anyone has any success with using the RAS server on CE4.1. ...
    (microsoft.public.windowsce.embedded)
  • Re: DAO takes too much time to link tables
    ... 'Link the tables contained at the given query. ... Dim rst As DAO.Recordset ... Dim success As Boolean ... Dim strConn As String ...
    (microsoft.public.access.modulesdaovba)
  • Re: DAO takes too much time to link tables
    ... 'Link the tables contained at the given query. ... Dim rst As DAO.Recordset ... On Error GoTo LinkTables_Err ... Dim success As Boolean ...
    (microsoft.public.access.modulesdaovba)
  • Re: DAO takes too much time to link tables
    ... 'Link the tables contained at the given query. ... Dim rst As DAO.Recordset ... On Error GoTo LinkTables_Err ... Dim success As Boolean ...
    (microsoft.public.access.modulesdaovba)
  • Re: DAO takes too much time to link tables
    ... I am trying to link some tables to a back-end database. ... 'Link the tables contained at the given query. ... Dim rst As DAO.Recordset ... Dim success As Boolean ...
    (microsoft.public.access.modulesdaovba)