Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win32_ProcessStartup
Message
From
21/11/2002 19:28:14
 
 
To
21/11/2002 07:52:04
Roman Segaud
Laboratoires Fortepharma
Nice, France
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00724194
Message ID:
00725551
Views:
15
>Thank a lot Herman, by this way my createProcess will no more make a screen, no more flash when running a new child process.
>

Look at API_APPRUN - the use of the optional third parameter set as "HID" will launch an app with 0 visibility on the desktop or taskbar.

>I'll tried it as soon as possible and tel you how it's work, do you experimenting some trouble using createprocess and VFP, I need to write some function to write/read data to/from memory, because if you can pass data to your new process, I don't know another way to pass data form your new process to your parent one.
>

ClsHeap contains a set of UDFs to read and write memory, but each process has its own address space, unless you use memory-mapped files and mapped file views, direct memory exchanges probably aren't practical. I'd suggest using some method of data interchange; WIndows Messages passed via SendMessage/PostMessage or the use of a named pipe or mailslot might well work for you. And there are always DDE and COM...
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