|
|
|
|
- Required modules:
- Special cases:
ceConnect (Function) In french: ceConnecte 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.
// 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|