DialUpToCE

Runs the DialUpToCE program, which sends the information necessary to CERasSvr.exe calls back to the Server.

Function Group Execution Windows Embedded Thin Client
DialUpToCE Dial-up Asynchronous Supported (see note) Not supported Supported
Note: This function is not supported on Windows 7.

Syntax

DialUpToCE( numModem, strDialPhone, strMyNumber, strUser, strPassword, optStrDomain, optAutoDial, optAutoClose )
numModem
The modem used to dial to the Windows CE remote station.
strDialPhone
The telephone number of the Windows CE remote station.
strMyNumber
The telephone number sent to the Windows CE remote station. CERasSvr.exe will call back to this phone number.
strUser
The user name to be sent to Windows CE remote station. CERasSvr.exe will use this name to connect to the Windows XP/Vista/7 computer after calling back to it.
strPassword
The password to be sent to Windows CE remote station. CERasSvr.exe will use this password to connect to the Windows XP/Vista/7 computer after calling back to it.
optStrDomain
Optional The domain name to specify when logging on.
optAutoDial
Optional tag, which can be set to one of the following:
  • 1: Triggers the DialupToCE connection automatically when the function is executed
  • 0: Requests confirmation before triggering the DialupToCE connection automatically when the function is executed
optAutoClose
Optional tag, which can be set to one of the following:
  • 1: Closes the DialUpToCE dialog automatically after dialing the Windows CE remote station
  • 0: Leaves the DialUpToCE dialog open

Returned value

0 Fail, unable to call DialUpToCE.
1 Success, DialUpToCE executed.

Notes

The DialUpToCE program was developed to dial a remote Windows CE station. Because Windows CE v3.00 does not provide a RAS Server, you must be running the CERasSvr.exe program on the Windows Embedded device to answer a call, and call back to a Windows XP/Vista/7 computer using parameters sent by the DialUpToCE function. You must configure the RAS Server service on the Windows XP/Vista/7 computer to answer the call back from the Windows Embedded device and set the TCP/IP connection.

Examples

Tag Name Expression
Tag DialUpToCE( 0, "12344321", "98765432", "Administrator", "MyPass" )
Tag DialUpToCE( 0, "12344321", "98765432", "Administrator", "MyPass", "", 1, 1 )