Re: How to detect the ActiveSync connection before further processing?

r_z_aret_at_pen_fact.com
Date: 03/31/04


Date: Wed, 31 Mar 2004 09:40:52 -0500

CeRapiInitEx or CeRapiInit might work. Note that one always returns
immediately, and one only returns when an ActiveSync connection is
made. These functions are part of RAPI which is a set of functions
that let _desktop_ applications manipulate files and data on a Windows
CE device.

On Wed, 31 Mar 2004 03:46:10 -0800, "Alice"
<anonymous@discussions.microsoft.com> wrote:

>Hi,
>
>I want to detect the activesync is connected before further process.
>I am using Microsoft Visual Basic 6.0.
>
>regards,
>Alice
>

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com



Relevant Pages

  • Need Help! I want to connect HHT through classic ASP page
    ... I wrote a wrapper dll 'SmartTransfer.dll' that using rapi APIs ... Then I logged my code and found that CeRapiInitEx return less than 0 ... 'Initiates a connection and returns true ... Dim dwWaitRet, dwTimeout As Long ...
    (microsoft.public.dotnet.framework.compactframework)
  • Need Help! I want to connect HHT through classic ASP page
    ... I wrote a wrapper dll 'SmartTransfer.dll' that using rapi APIs ... Then I logged my code and found that CeRapiInitEx return less than 0 ... 'Initiates a connection and returns true ... Dim dwWaitRet, dwTimeout As Long ...
    (microsoft.public.pocketpc.developer)
  • Re: Need Help! I want to connect HHT through classic ASP page
    ... So what exact value does CeRapiInitEx return - this will help determine the ... > I wrote a wrapper dll 'SmartTransfer.dll' that using rapi APIs ... > ' Dim fs As New FileSystemObject ... > Dim dwWaitRet, dwTimeout As Long ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: file transfer
    ... >>docking station). ... > end of an ActiveSync connection, ... PDA must intiate the transfer and RAPI isn't appropriate for it. ... on PC and transfer files only. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: RAPI - VB - MS Access - Reconnecting a PDA and NOT being able to connect
    ... CeRapiInitEx() multiple times. ... you're calling into your RapiGetCEOsVersionString ... to verify that RAPI is initialized at all. ... 'Handle failure ...
    (microsoft.public.pocketpc.developer)

Loading