Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Somebody can helpme with a api call??
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00165704
Message ID:
00165758
Views:
12
>>>ShellExecute doesn't return the value that GetExitCodeProcess needs. It returns the instance handle, not the process handle, which is what's required. If you were to start the process with CreateThread() I think (but am not 100% sure) that you'll get the value you need.
>>
>>CreateProcess(), not CreateThread(). CreateThread() launches a thread in the memory context of the current process. VFP has kittens if you try this...
>
>
>Thanks Ed. I knew it was one of those two (I first typed CreateProcess()).
>
>BTW, I finally got MS Client for Netware going (don't ask about the gruesome details:-)). I'll post back on that other thread as soon as I've got some more info.

Hopefully you had better results than I did; through at least version 2.2, Novell's Client32 didn't cleanly uninstall itself; short of a reinstall, the only thing that worked reliablywas to run netWare's Uninstall, then delete all the adapters that had attached to it, and readd them and their protocols and clients. Please tell me it was easier than that...
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