Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HowTo: Multithreading/Multitasking
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00329228
Message ID:
00330451
Views:
22
>we are changing direction - to out of process exe. we are useing the FindWindow & the SendMessage API calls. do you know what other messeges we can pass? like DBClick so we can triger an event on the remote session.. i now the close x10 works fine...

You're complicating this far beyond your needs; MSMQ can provide reliable, flexible messaging for you application via an ActiveX interface, which should havemore than adeqaute performance for your needs. There's a great whitepaper by Randy Brown in the MSDN Library "Using MSMQ with Microsoft Visual FoxPro 6.0"; it's also available on-line at Using MSMQ with Microsoft Visual FoxPro 6.0 on the MSDN OnLine site.

Your messaging mechanism could be as simple as using a shared table to pass requests and post replies and results, depending on your requirements. This allows the simple creation of job server pools from otherwise idle machines in a 'fire and forget' fashion - I use this to have free systems run reports during our end-of-month process - just write a list of things that need dooing,and have a simple app thatlooks tosee what hasn't been started yet, checks tomake sure it is capable of doing it, and grabs it, maring it as 'in-process', and 'done' on completion. From my POV, I only care that all the jobs run to completions for this example - I can check the 'jobs' file at anytime to see what's going on.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform