>THE SITUATION:
>--------------
>I have a client-server application.
>The Server application is a VFP EXE. It is run once, on one computer.
>it catches service requests from the client application.
>
>I would like to have a "Worker-Bee" ActiveX server built in VFP (I already have it, actually), that the Server application can call and have work asynchronously.
>
>THE PROBLEM:
>------------
>If, in my VFP Server application, I create/call a worker bee:
>EG:
>oWorkerBee = CreateObject( "WorkerBee.Worker")
>oWorderBee.DoWork( "ThisWork" )
>
>I don't get control back until after DoWork() is done.
>How can I have my Server app call DoWork() & set the Worker bee going without my need to be held up by it until it's done working?
>
>
>My thanks in advance.
>
>- Pol Stafford
>pol@casetrakker.com
Pol:
I'm not sure there is a solution to this problem with this version of VFP. I have heard rumblings about the next version supporting some type of multi-threading. I have a similar situation, but I use VC++ as the client. In my earlier tests I could not get VFP to run independently as both the client and server. Unfortunately there is not much in the docs about ActiveX or OLE Automation with VFP.
Rick Grinter
Previous
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