ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 26 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / WLanguage functions / Standard functions / Mobile Device (Pocket PC) access functions
  • 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.
Remark: 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 timeout>])
<Result>: Boolean
  • True if the function was successful,
  • False otherwise. If an error occurs, you can get the details of the error with ErrorInfo.
<Connection timeout>: Optional integer or optional Duration
Timeout (in seconds) after which the connection is considered as "having failed". This timeout is set to 10 seconds by default.
This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • the direct indication of duration ('1s' for example).
Caution: In 64 bit, this parameter is ignored. The timeout 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.
Component: wd260ce.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/26/2021

Send a report | Local help