Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lotus Organizer 97 API
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00055806
Message ID:
00059036
Vues:
49
>>It seems that what you do it's correct. I also tried it last night, but it fails to load the library whatever I did. Please let me know if you succed in using this from VFP.
>
>Vlad
>
>I finally got it to work. The key is to include c:\lotus\organize and c:\lotus\compnent in your DOS path. Evidently, the Org32AP.dll could not load, because it needed to access the other DLL's that come with organizer. I used the SetEnvironmentVariable Win32API function to set my path within FoxPro. I got this from the function call in VB from sub main to z_SetEnvironment (?). I'm not looking at the code, but it one of the first calls from VB. This function looks in the registry for the appropriate path to the needed DLL's.
>
>Thanks for your help!

Thanks for coming back on this. I also thought about this, I used the dumpbin.exe on the DLL and I saw that it uses other DLLs. So, I made a quick and dirty exe and put everything in one directory (all DLLs and EXE). But it still didn't work and I had the same error. Probably I still missed something.

But it's good you solved it. Now we know that is not because this DLL can't work in VFP...

Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform