Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP ActiveX Servers working asynchronously
Message
From
11/11/1997 11:35:32
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00058003
Message ID:
00059536
Views:
31
>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
Map
View

Click here to load this message in the networking platform