Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win32_ProcessStartup
Message
From
22/11/2002 09:06:03
 
 
To
21/11/2002 16:40:06
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00724194
Message ID:
00725724
Views:
16
>In my experienced, I never had trouble with CreateProcess. Just be careful if you set "No Window" in Startup_Info, your process must quit it's process correctly without user intervention, or else you have to kill it with Ctrl-Alt-Del or programmaticaly.
>
>I'm not really sure what you mean with "pass data". Can you just pass it as a string (by refference) in a parameter ?

No, you need to use a mechanism to marshall the memvar across a process boundary in both directions; both to pass the inbound parameter value not as a value, but as a shared memory reference, and again to return any alterations through shared memory. The simplest mechanism for such direct transfers is memory-mapped file I/O.
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
Next
Reply
Map
View

Click here to load this message in the networking platform