Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Waiting for a dll, Need a way to Continue Execution
Message
From
19/10/2006 20:31:03
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Waiting for a dll, Need a way to Continue Execution
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01163530
Message ID:
01163530
Views:
50
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
Map
View

Click here to load this message in the networking platform