Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExWindowsEx() and Visual C++
Message
From
07/04/1999 16:53:08
 
 
To
07/04/1999 10:02:45
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00205131
Message ID:
00206225
Views:
27
>> is around US$300; I have a Universal subscription, which
>> runs about US$2000, which includes all of the MS Operating
>
>US$2000 a year? That would be my one-month salary! Too expensive
>for me. that's why I am using my office's VS6 to write programs
>for my home use. ANd that's why I tried ExitWindowsEx(). I did
>read the MSDN CD (NOT the DVD version). I couldn't find any chapter
>talking about abnormaly of ExitWindowsEX(). To be frank, I could
>the MSDN CD so difficult to read, always pointing to the wrong
>place.
>

Don't blame me - I feel that it's to my advantage to have all of VS, all of Office, all of MS's operating system distributions, most of the open betas, and the quarterly updates to the MSDN, so I spend my money on the Universal Subscription. Much of what I develop is subject to intellectual property law (I file patents and copyrights on much of what I develop) and having clear ownership of the tools helps establish my ownership of my work product. if I use my employers tools, software or hardware, they might have some claim on my work product, even if I develop it on my own time.

The MSDN documentation on ExitWindowsEx is pretty explicit; read the entry on Windows 95 immediately before the QuickInfo section of the documentation.

>I just wonder whether you could show me the proper way of using
>ExitWindowsEx() to power-off my PC.
>
>There were alternatives, but I don't want to install VB Runtime
>or WSH. A plain-old vanilla EXE would be nice! Guess the days
>of Turbo C for DOS wouldn't come back... :)
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