How can i understand/control the failure of rapi connection from the code while developing a simple device application
thanks...
How can i understand/control the failure of rapi connection from the code while developing a simple device application
thanks...
rapi.AcitiveSync-another question
Ahoapap
Before any remote application function, can I learn
whether I am connected to system or not. For example , I am going to
call CeCopyFile function, and before calling it I want to learn if I am
still connected.Getlasterror() do not cover this problem I think. Is operating system
do something automatically when connection is closed
Student417
Most of the RAPI calls return error codes and you can use GetLastError() function to see the error info and use appropriate program logic to code againt such errors.
Info on GetLastError http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceappenduser5/html/wce50lrfcegetlasterrorrapi.asp
MSDN Info about RAPI http://msdn.microsoft.com/library/default.asp url=/library/en-us/apippc/html/ppc_api_template_yjfpo.asp
Manav
JeffJohnsonMVPVB
You may want to go thru the RAPI documentation and read articles on RAPI programming.
Manav