General information
Category:
Coding, syntax & commands
Title:
Waiting for a dll, Need a way to Continue Execution
Good evening all
I have code that runs a 3rd party dll. My program code stops execution until a value is returned from the dll. Is there a way to avoid this?
Specifically, I am using Blatt.dll to send an email from within my VFP application. lnRetVal = Send(cParamStr). But the specific dll is really not relevant here. Program exection stops until the dll returns a value. In this case, it can take quit a long time, especially if a server logon is required. The lnRetVal is important because it signals success or an error code.
In some other language, I might try to run the dll in the background and keep Fox running in the foreground. I don't think I can do this in VFP. Also, I have a differnt app in VFP9 and will soon run into the same issue there; so please don't limit the discussion to VFP7.
Your comments are appreciated. Thanks for reading.
Regards,
Don Lowrey
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only