Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExWindowsEx() and Visual C++
Message
De
06/04/1999 08:09:43
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
À
04/04/1999 23:23:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00205131
Message ID:
00205531
Vues:
24
You meant to use ExitWindowsEx(EWX_SHUTDOWN | EWX_FORCE, 0)?
Haven't written C for quite a while. I believed I tried it.
The desktop just flashed once and didn't shut down.

Could you expand the tag, please? I am not a member
here so the autolink is not available.

Thank you.

>> ExitWindowsEx(EWX_SHUTDOWN, 0);
> You'll also probably need to use both EWX_FORCE and
> EWX_SHUTDOWN to avoid dialogs in any case.
>
> Under Win95, ExitWindowsEx doesn't function properly from a console
> application. See the MSDN documentation for details.
Regards,
Mr. Man-wai Chang
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform