Im a newbee to the world of condiuts and how the conduits get registred to the hotsync application.
I need a little help here, since I have tried to register a condiut dll with the command "regsvr32 mjtest.dll". The response is "unable to load sync20.dll". I have debugged the pfgSyncMgr.pas
Palmpath=E:\palm\
DllHandle=0
The sync20.dll is located in "E:\palm\"
I have tried to add sharemem to my project, but that did not help.
Please help
Regards
Michael Jrgensen
Denmark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try debugging the exact code that's trying to load the sync20.dll file. From the sounds of it, it's got the correct directory, so try double-checking what the filename string is passed to the LoadLibrary method.
Paul Gilbert
Lancom Technologies
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have a look at the PalmPath method in pfgSyncMgr.pas.. it's the one that tells the various units representing each of the Palm DLLs which directory to load the DLL from. It basically does the following steps:
1) Checks for a copy of userdata.dll in the same directory as the conduit. If it finds it, it temporarily loads it up, and uses a method in it called UmGetRootDirectory. This returns whatever directory is set up in your system as the Palm folder, and the library will expect all the DLLs to be located there.
2) If it can't find it there, it will go straight to the registry, and look in:
HKEY_CURRENT_USER:Software\U.S. Robotics\Pilot Desktop\Core\HotSyncPath for the folder the Palm DLLs are located in
It expects at least one of those two methods to give it a folder to use, and once found, expects all the DLL's to be located in that folder. You might want to try tracing into that method to find out which directory it's using, and then validate that that directory really does contain all the Palm DLLs on your system.
Regards,
Paul.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Im a newbee to the world of condiuts and how the conduits get registred to the hotsync application.
I need a little help here, since I have tried to register a condiut dll with the command "regsvr32 mjtest.dll". The response is "unable to load sync20.dll". I have debugged the pfgSyncMgr.pas
Palmpath=E:\palm\
DllHandle=0
The sync20.dll is located in "E:\palm\"
I have tried to add sharemem to my project, but that did not help.
Please help
Regards
Michael Jrgensen
Denmark
Try debugging the exact code that's trying to load the sync20.dll file. From the sounds of it, it's got the correct directory, so try double-checking what the filename string is passed to the LoadLibrary method.
Paul Gilbert
Lancom Technologies
Hi, I have the same problem in all dll contained in the examples that comes with the library.
I have not what to do.
Could someone help me??
Thanks
Hi there,
Have a look at the PalmPath method in pfgSyncMgr.pas.. it's the one that tells the various units representing each of the Palm DLLs which directory to load the DLL from. It basically does the following steps:
1) Checks for a copy of userdata.dll in the same directory as the conduit. If it finds it, it temporarily loads it up, and uses a method in it called UmGetRootDirectory. This returns whatever directory is set up in your system as the Palm folder, and the library will expect all the DLLs to be located there.
2) If it can't find it there, it will go straight to the registry, and look in:
HKEY_CURRENT_USER:Software\U.S. Robotics\Pilot Desktop\Core\HotSyncPath for the folder the Palm DLLs are located in
It expects at least one of those two methods to give it a folder to use, and once found, expects all the DLL's to be located in that folder. You might want to try tracing into that method to find out which directory it's using, and then validate that that directory really does contain all the Palm DLLs on your system.
Regards,
Paul.