I have an application that uses the RAPI.dll to send commands to a device.
The application works find on Vista, but when I try and run it on Vista x64
then it gives an error indicating it can't find the RAPI.dll.
I checked and the RAPI.dll is in c:\windows\system32, which is also in my
path.
I can browse the device fine through the file explorer, so it looks like the
built-in "ActiveSync" works.
I ran the application in the dependecy walker and it showed
c:\windows\system32 in the search path. It showed the following error for
RAPI.dll "Error opening file. The system cannot find the file specified.".
For kicks, I copied the RAPI.dll into the directory with my application.
This fixed the RAPI.dll not found error, but introduced 2 new errors. 1) it
said the dll was x64 based 2) it said it could not load another DLL that
RAPI.dll depeded on.
Is this a known issue? Or is there a known workaround? Do I need to do
anything special to access RAPI on Vista x64. (As a side note, the
application works perfectly fine on XP 64 with ActiveSync installed).
Any help on this issue would be appreciated.
Thanks,
Douglas