AVFPasync Class

Topics: Developer Forum, User Forum
May 16, 2012 at 10:08 PM

Hi

Can you show me how to send/get data to a running thread ?

What I try to do is: Run a program (server side) . This program will remains active (running in background) then, send data to it (via html form) and get response to post back to the browser.

Is this possible with AVFPasync ?

thanks for you time 

Martin 

 

Coordinator
May 17, 2012 at 12:12 PM

The online example is here:

http://thetechconsult.com/demo/default.aspx?action=thread

To use this, modify \prg\mythreadfunc.prg to do whatever you need to do and look at the documentation on this:

http://thetechconsult.com/demo/html/docs.htm#avfpasync

Finally, look at this discussion for creating a background thread:

http://activevfp.codeplex.com/discussions/346475

-----

I'm probably going to use Christian Ehlscheid's CreateThreadObject in his VFP2C32.fll for the next version of this since it has no requirement for disabling DEP.