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:
00165733
Views:
10
>>>>i have som problems with GetExitCodeProcess and ShellExecute, could somebody help me??
>>>
>>>I don't know if I can help with GetExitCodeProcess (you need the process handle), but I can help with ShellExecute. What do you want to know and what are you trying to do?
>>if I use shellexecute, it give me a instance handle, but if i use GetExitCodeProcess, it gives me an error6, not a vlaid proccess handle.
>
>The hInstance returned by ShellExecute() is only valid to check to see if the app launched; this is documented in the MSN docs. Use either ShellExecuteEx() or CreateProcess() if you need a process handle to monitor a running application.


thanks, ed, but can you sow me how to declare the call for ShellExecuteEx and, mos important, how to use and manage the structure that it needs??
------------------------------------
Miguel Angel Hernaiz
miguel@gnomo.net --- miguel@vfug.org
ICQ: 3813422 --- www.gnomo.net
------------------------------------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform