Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare dll statement results in error
Message
 
 
À
17/10/2003 02:59:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00839627
Message ID:
00839687
Vues:
25
Hi Erwin,

What's exact error mesage code and text? Are there any other code running between two calls to the function?
Does it happens if you call this function two times in a row? If that the case than most likely the problem is in DLL itself. It may not clean up correctly after the first call. The best solution would be to contact the author of the DLL. You can try to CLEAR DLLS cFunctionName and DECLARE before each call as a workaround.

>Hi there,
>
>I am using a third party DLL in my Fox program.
>After successfully declaring a function like;
>
>DECLARE INTEGER cFunctionName IN lcDLLDir+"\dllname.dll";
> integer, string, integer, integer
>
>I am able to use this function once.
>When I try to execute this code more than once I got an error messages
>that tells me the declare statement was not successfull.
>
>Is there anything I have to do? Cleaning up resources or something?
>
>Many thanks,
>
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform