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 21:34:10
 
 
To
19/10/2006 20:31:03
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01163530
Message ID:
01163536
Views:
8
This message has been marked as the solution to the initial question of the thread.
See if this thread helps:
Re: Multitasking from VFP Thread #924617 Message #924898

>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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform