Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fpole.dll
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00659786
Message ID:
00659811
Vues:
26
>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
Fil
Voir

Click here to load this message in the networking platform