Hello
I will want to make a small application to stop my PC at one hour precise.
To stop the PC I use the following code:
OpenLibrary(0,"USER32.DLL")
CallFunction(0,"ExitWindowsEx",EWX_POWEROFF,0)
The problem it is that the PC does not stop but Windows closes just the session in progress.
How to make to stop the PC easily?
It would be necessary that the code goes with win9X and NT XP.
Thank you for your assistance.
Also if somebody knows how to know the number of the mother card,
it would be well.
Sorry for my English, but I french
