Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare dll statement results in error
Message
 
 
To
17/10/2003 02:59:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00839627
Message ID:
00839687
Views:
24
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform