Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connecting to CE Device via RAPI API
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Connecting to CE Device via RAPI API
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01595750
Message ID:
01595750
Views:
31
My VFP 9 program connects to Pocket PC (device using Windows Mobile 6.5) via API functions in RAPI. The code works for all customers but one who just recently upgraded his computer to Windows 7. He installed Windows Mobile Center 6.1 (which is a replacement of ActiveSync used on XP). Btw, many other customers (and myself) use Windows Mobile Center 6.1 to connect the Pocket PC to the desktop. But this one customer has the following problem:
He can go to the File Management of the Windows Mobile Center 6.1 and view all folders and files on the Pocket PC; no problem. But my VFP 9 program fails to see any folders on the Pocket PC and it fails to copy/write a test file to the Pocket PC. The RAPI function that copies a file to the Pocket PC gets handle -1 (failed) and the RAPI error (CeGetLastError()) always returns 0.

If anybody has suggestions to what I may try or change, I would appreciate it. (I only wish that there were another way to connect the desktop to the Pocket PC rather than Windows Mobile 6.1).

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform