Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send a message from Computer to another
Message
From
16/10/2000 19:59:56
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00429863
Message ID:
00430107
Views:
13
>Hi people,someone know the way to send a message from computer to another like net send but an app level?
>

There are several API mechanisms which will work cross-system; mailslots and named pipes come to mind immediately. MSMQ, a message-queuing service provided by Microsoft, is available as a COM object; there's a tremendous whitepaper covering MSMQ and VFP written by Robert Green available in the MSDN Library - you can access it online through the MSDN web site msdn.microsoft.com/vfoxpro

You can also write your own out-of-process COM objects and rely on DCOM for RPC services within VFP.

>i need send a message from a client app to server app (both foxpro) to indicate a process
>

If I were doing this and the communication were one way, and I couldn't use MSMQ, I'd probably use named mailslots via the Windows API. You could easily code the server as an out-of-process COM server and use DCOM; it's all natiuve VFP that way.
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