referring to
http://msdn.microsoft.com/library/de...emshutdown.asp
it says
i encountered the "Enter Windows Password dialog box" problem. So according to MSDN i should "terminate the Explorer process before calling ExitWindowsEx with EWX_LOGOFF and EWX_FORCE."Windows Me/98/95: Because of the design of the shell, calling ExitWindowsEx with EWX_FORCE fails to completely log off the user (the system terminates the applications and displays the Enter Windows Password dialog box, however, the user's desktop remains.) To log off the user forcibly, terminate the Explorer process before calling ExitWindowsEx with EWX_LOGOFF and EWX_FORCE.
question : how exactly do i "terminate the Explorer process before calling ExitWindowsEx with EWX_LOGOFF and EWX_FORCE." ??