Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Better than exitprocess
Message
From
01/11/2000 18:11:24
 
 
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00436917
Message ID:
00436953
Views:
19
>Anyone have a way to return an error level other than exitprocess. In my very simple example it works great but in a real world app its causing an illegal operation in kernel32...

Anything else ultimately turns into ExitProcess(), ie PostQuitMessage() will send a WM_DESTROY to the current thread's thread queue, but ultimately, it executes an ExitProcess() from inside the WinMain.
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