I have a problem with RAPI in Delphi. I made a program in
Delphi that should detect if Pocket PC is connected. Evrithing
else is working fine exept CeRapiUnInit.I am using Rapi.pas
from borland examples.
The call: @mCeRapiUnInit
:= GetProcAddress(RapiModule, 'CeRapiUnInit');
is returning "Inaccessible value", that is propably meaning nil. I am using Delphi 4 and ActiveSync 3.8.
When I was looking closer the CeRapiInit has the same problem but the CeRapiInitEx is working.
How can I get it to work?
Is there any simpler ways to detect if Pocket PC is connected in Delphi?