PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Required modules:
  • Special cases:
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Connects the current computer to a Mobile Device (Pocket PC). This Mobile Device must be physically connected to the current computer.
Versions 20 and later
Note: this function is available in 64-bit mode.
New in version 20
Note: this function is available in 64-bit mode.
Note: this function is available in 64-bit mode.
Example
// Establish a connection with the Mobile Device
ResConnection is boolean = ceConnect()
// Has a problem occurred?
IF ResConnection = True THEN
Info("The connexion is established.")
ELSE
Error(ErrorInfo())
END
Syntax
<Result> = ceConnect([<Connection Time-out>])
<Result>: Boolean
  • True if the function was successful,
  • False otherwise. To find out the error details, use ErrorInfo.
<Connection Time-out>: Optional integer or optional Duration
Time-out (in seconds) after which the connection is considered as "having failed". This time-out is set to 10 seconds by default.
This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • Versions 23 and later
    the direct indication of duration (1 s for example).
    New in version 23
    the direct indication of duration (1 s for example).
    the direct indication of duration (1 s for example).
Caution: In 64 bit, this parameter is ignored. The time-out cannot be configured and it is set to 1 minute.
Remarks

Required modules:

  • If the computer is using an operating system earlier than Windows Vista, this function requires the use of the "ActiveSync" synchronization software.
  • In Windows Vista and later, this function requires the use of the "Windows Mobile Device Center" module. This module can be downloaded from the Microsoft site.

Special cases:

  • Several connections cannot be established at the same time.
  • The Mobile Device (Pocket PC) can be connected to the current computer by a USB, COM, Bluetooth or Wi-Fi driver.
  • The wdxxxce.dll library for accessing a Windows Mobile application does not operate in 64 bits.
Components
WINDEVReports and Queries wd230ce.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment