Information générale
Catégorie:
Fonctions Windows API
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement