Código Delphi
[-]
if ExitWindowsEx (0,0) = 0 then
showmessage ('No puedorrr reiniciar Windows');
if ExitWindowsEx (1,0) = 0 then
showmessage ('No puedorrr cerrar el ordenador');
if ExitWindowsEx (2,0) = 0 then
showmessage ('No puedorrr reiniciar el ordenador');
¿por qué me da el mensaje de error Incompatible types?
¿donde esta fallando?
Se supone que la funcion ExitWindowsEx esta en Windows.dcu ¿no?