Information générale
Catégorie:
Codage, syntaxe et commandes
>The function names in DECLARE command are case-sensitive. You need to write "FoxDoCmd" and "FoxEval".
>
>>I am trying to use fpole.dll.
>>I am using the following code from the helpfile
>>
>>MYDLL = 'C:\Program Files\Microsoft Visual FoxPro 7.0\Fpole.dll'
>>
>>DECLARE integer SetOleObject in (MYDLL) string
>>DECLARE integer FOXDOCMD in (MYDLL) string,string
>>DECLARE integer FOXEVAL in (MYDLL) ;
>> string, string @,integer
>>
>>=SetOleObject("visualfoxpro.application")
>>?FOXDOCMD("wait wind 'test' timeout 2","")
>>?FOXDOCMD("modi proj xx2 nowait ","")
>>?FOXDOCMD("close all","")
>>
>>CLEAR DLLS
>>
>>but when i run it i get the error
>>cannot find entry point for FOXDOCMD in Dll
Thank you very much. That was the problem ... Shouldnt the documentation have a correct example? I wasted a lot of time trying to figure out what was the problem ..
Dimitris
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