Página 1 de 2

ShExitWindowsDlg causes GPF on Vista

Publicado: Lun Sep 24, 2007 10:09 pm
por Dionisis Divaris

Using ShExitWindowsDlg() function causes a GPF on Vista Environment. See
attached photo.
Tia
Dionisis
--

Attached files

ShExitWindowsDlg causes GPF on Vista

Publicado: Lun Sep 24, 2007 10:13 pm
por Dionisis Divaris
P.S
You must press a button [ok] [cancel] or [help] to make GPF appear's.
Regards
Dionisis
Ο "Dionisis Divaris" <info@sgs-soft.gr> έγραψε στο μήνυμα
news:[email=46f81910@ozsrv2.ozlan.local...]46f81910@ozsrv2.ozlan.local...[/email]
>
> Using ShExitWindowsDlg() function causes a GPF on Vista Environment. See
> attached photo.
>
> Tia
> Dionisis
>

ShExitWindowsDlg causes GPF on Vista

Publicado: Lun Sep 24, 2007 10:13 pm
por Xailer
P.S
You must press a button [ok] [cancel] or [help] to make GPF appear's.
Regards
Dionisis
Ο "Dionisis Divaris" <info@sgs-soft.gr> έγραψε στο μήνυμα
news:[email=46f81910@ozsrv2.ozlan.local...]46f81910@ozsrv2.ozlan.local...[/email]
>
> Using ShExitWindowsDlg() function causes a GPF on Vista Environment. See
> attached photo.
>
> Tia
> Dionisis
>

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 6:17 pm
por jfgimenez
Dionisis,
> Using ShExitWindowsDlg() function causes a GPF on Vista Environment. See
> attached photo.
Thanks for the info. We'll try to fix it ASAP.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 6:17 pm
por jfgimenez
Dionisis,
> Using ShExitWindowsDlg() function causes a GPF on Vista Environment. See
> attached photo.
Thanks for the info. We'll try to fix it ASAP.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 10:00 pm
por notengo
Dionisis,
in what moment appears the GPF ? Also, are you passing any parameter to the
function ?
Regards,
José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 10:00 pm
por notengo
Dionisis,
in what moment appears the GPF ? Also, are you passing any parameter to the
function ?
Regards,
José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 11:05 pm
por Dionisis Divaris
Hello Josi
The GPF happens pressing one of the dialog buttons [OK] [CANCEL] or
[HELP]. The programming environment is a Vista Ultimate Edition
Ο "José Lalí­n" <notengo@correo.com> έγραψε στο μήνυμα
news:46faba99$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>
> Dionisis,
>
> in what moment appears the GPF ? Also, are you passing any parameter to
> the function ?
>
> Regards,
> José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 11:05 pm
por Xailer
Hello Josi
The GPF happens pressing one of the dialog buttons [OK] [CANCEL] or
[HELP]. The programming environment is a Vista Ultimate Edition
Ο "José Lalí­n" <notengo@correo.com> έγραψε στο μήνυμα
news:46faba99$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>
> Dionisis,
>
> in what moment appears the GPF ? Also, are you passing any parameter to
> the function ?
>
> Regards,
> José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 11:17 pm
por notengo
Dionisis,
> The GPF happens pressing one of the dialog buttons [OK] [CANCEL] or
> [HELP]. The programming environment is a Vista Ultimate Edition
Ok, did you try to call it as: SHExitWindowsDlg( oForm ) ?
Regards,
José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 11:17 pm
por notengo
Dionisis,
> The GPF happens pressing one of the dialog buttons [OK] [CANCEL] or
> [HELP]. The programming environment is a Vista Ultimate Edition
Ok, did you try to call it as: SHExitWindowsDlg( oForm ) ?
Regards,
José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 11:44 pm
por Dionisis Divaris
Josi the same hapens if i call the function with oForm as a
parameter.....
Regards
Dionisis
Ο "José Lalí­n" <notengo@correo.com> έγραψε στο μήνυμα
news:46faccbb$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>
> Dionisis,
>
>> The GPF happens pressing one of the dialog buttons [OK] [CANCEL] or
>> [HELP]. The programming environment is a Vista Ultimate Edition
>
> Ok, did you try to call it as: SHExitWindowsDlg( oForm ) ?
>
> Regards,
> José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 11:44 pm
por Xailer
Josi the same hapens if i call the function with oForm as a
parameter.....
Regards
Dionisis
Ο "José Lalí­n" <notengo@correo.com> έγραψε στο μήνυμα
news:46faccbb$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>
> Dionisis,
>
>> The GPF happens pressing one of the dialog buttons [OK] [CANCEL] or
>> [HELP]. The programming environment is a Vista Ultimate Edition
>
> Ok, did you try to call it as: SHExitWindowsDlg( oForm ) ?
>
> Regards,
> José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 11:50 pm
por notengo
Dionisis,
> Josi the same hapens if i call the function with oForm as a
> parameter.....
perhaps Vista needs to setup some privileges before doing the call but I
can't find any info about it.
In the meantime try these two:
ShellExecute( "c:windowsRunDLL32.exe user.exe,ExitWindows" )
ShellExecute( "c:windowsrundll32.exe Shell32.dll,SHExitWindowsEx" )
Regards,
José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Mié Sep 26, 2007 11:50 pm
por notengo
Dionisis,
> Josi the same hapens if i call the function with oForm as a
> parameter.....
perhaps Vista needs to setup some privileges before doing the call but I
can't find any info about it.
In the meantime try these two:
ShellExecute( "c:windowsRunDLL32.exe user.exe,ExitWindows" )
ShellExecute( "c:windowsrundll32.exe Shell32.dll,SHExitWindowsEx" )
Regards,
José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Jue Sep 27, 2007 7:17 am
por Dionisis Divaris
Hello Ignacio
Any news about this issue?
TIA
Dionisis
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:[email=46f81a04@ozsrv2.ozlan.local...]46f81a04@ozsrv2.ozlan.local...[/email]
> P.S
> You must press a button [ok] [cancel] or [help] to make GPF appear's.
> Regards
> Dionisis
>
> Ï "Dionisis Divaris" <info@sgs-soft.gr> Ýãñáøå óôï ìÞíõìá
> news:[email=46f81910@ozsrv2.ozlan.local...]46f81910@ozsrv2.ozlan.local...[/email]
>>
>> Using ShExitWindowsDlg() function causes a GPF on Vista Environment. See
>> attached photo.
>>
>> Tia
>> Dionisis
>>
>

ShExitWindowsDlg causes GPF on Vista

Publicado: Jue Sep 27, 2007 7:17 am
por Dionisis Divaris
Hello Ignacio
Any news about this issue?
TIA
Dionisis
"Dionisis Divaris" <info@sgs-soft.gr> wrote in message
news:[email=46f81a04@ozsrv2.ozlan.local...]46f81a04@ozsrv2.ozlan.local...[/email]
> P.S
> You must press a button [ok] [cancel] or [help] to make GPF appear's.
> Regards
> Dionisis
>
> Ï "Dionisis Divaris" <info@sgs-soft.gr> Ýãñáøå óôï ìÞíõìá
> news:[email=46f81910@ozsrv2.ozlan.local...]46f81910@ozsrv2.ozlan.local...[/email]
>>
>> Using ShExitWindowsDlg() function causes a GPF on Vista Environment. See
>> attached photo.
>>
>> Tia
>> Dionisis
>>
>

ShExitWindowsDlg causes GPF on Vista

Publicado: Jue Sep 27, 2007 7:29 am
por Dionisis Divaris
GoodMorning Josi
Both of the ShellExecute calls don't work. I need this function for a
medical program that make blood test's and every time to make a new test,
the pc must be restarted remotely.
Many thanks for your efforts.
Regards
Dionisis
Ο "José Lalí­n" <notengo@correo.com> έγραψε στο μήνυμα
news:46fad478$[email=2@ozsrv2.ozlan.local...]2@ozsrv2.ozlan.local...[/email]
>
> Dionisis,
>
>> Josi the same hapens if i call the function with oForm as a
>> parameter.....
>
> perhaps Vista needs to setup some privileges before doing the call but I
> can't find any info about it.
>
> In the meantime try these two:
>
> ShellExecute( "c:windowsRunDLL32.exe user.exe,ExitWindows" )
> ShellExecute( "c:windowsrundll32.exe Shell32.dll,SHExitWindowsEx" )
>
> Regards,
> José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Jue Sep 27, 2007 7:29 am
por Xailer
GoodMorning Josi
Both of the ShellExecute calls don't work. I need this function for a
medical program that make blood test's and every time to make a new test,
the pc must be restarted remotely.
Many thanks for your efforts.
Regards
Dionisis
Ο "José Lalí­n" <notengo@correo.com> έγραψε στο μήνυμα
news:46fad478$[email=2@ozsrv2.ozlan.local...]2@ozsrv2.ozlan.local...[/email]
>
> Dionisis,
>
>> Josi the same hapens if i call the function with oForm as a
>> parameter.....
>
> perhaps Vista needs to setup some privileges before doing the call but I
> can't find any info about it.
>
> In the meantime try these two:
>
> ShellExecute( "c:windowsRunDLL32.exe user.exe,ExitWindows" )
> ShellExecute( "c:windowsrundll32.exe Shell32.dll,SHExitWindowsEx" )
>
> Regards,
> José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Lun Oct 01, 2007 10:31 pm
por notengo
Dionisis,
sorry for the late response.
I can't find any info about this dialog for Vista ... In the meantime try
changing the ShellExecute() call with WinExec().
Regards,
José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Lun Oct 01, 2007 10:31 pm
por notengo
Dionisis,
sorry for the late response.
I can't find any info about this dialog for Vista ... In the meantime try
changing the ShellExecute() call with WinExec().
Regards,
José Lalí­n

ShExitWindowsDlg causes GPF on Vista

Publicado: Sab Oct 06, 2007 11:21 pm
por notengo

Dionisis,
I haven't find a good way to show that dialog on Vista.
Anyhow, if you can do it without having to show the dialog, try adding the
OBJ to your project and insert this code in a module.
#pragma BEGINDUMP
#include <windows.h>
#include <xailer.h>
XA_FUNC( XA_VISTASHUTDOWN )
{
hb_retl( VistaShutdown() );
}
#pragma ENDDUMP
To test it just call: XA_VistaShutdown() from your application and let me
know if it works.
Regards,
José Lalí­n
--

ShExitWindowsDlg causes GPF on Vista

Publicado: Sab Oct 06, 2007 11:21 pm
por notengo

Dionisis,
I haven't find a good way to show that dialog on Vista.
Anyhow, if you can do it without having to show the dialog, try adding the
OBJ to your project and insert this code in a module.
#pragma BEGINDUMP
#include <windows.h>
#include <xailer.h>
XA_FUNC( XA_VISTASHUTDOWN )
{
hb_retl( VistaShutdown() );
}
#pragma ENDDUMP
To test it just call: XA_VistaShutdown() from your application and let me
know if it works.
Regards,
José Lalí­n
--

ShExitWindowsDlg causes GPF on Vista

Publicado: Dom Oct 07, 2007 9:42 pm
por Dionisis Divaris
Hello Jose
Yes your code shuts down successfully windows vista without displaying the
shutdown dialog
But for the future, please try to find out a more "gently" way to displaying
this dialog.
many many thanks
Regards
Dionisis
Ο "José Lalí­n" <notengo@correo.com> έγραψε στο μήνυμα
news:4707fca1$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>
> Dionisis,
>
> I haven't find a good way to show that dialog on Vista.
>
> Anyhow, if you can do it without having to show the dialog, try adding the
> OBJ to your project and insert this code in a module.
>
> #pragma BEGINDUMP
>
> #include <windows.h>
> #include <xailer.h>
>
> XA_FUNC( XA_VISTASHUTDOWN )
> {
> hb_retl( VistaShutdown() );
> }
>
> #pragma ENDDUMP
>
> To test it just call: XA_VistaShutdown() from your application and let me
> know if it works.
>
> Regards,
> José Lalí­n
>

ShExitWindowsDlg causes GPF on Vista

Publicado: Dom Oct 07, 2007 9:42 pm
por Xailer
Hello Jose
Yes your code shuts down successfully windows vista without displaying the
shutdown dialog
But for the future, please try to find out a more "gently" way to displaying
this dialog.
many many thanks
Regards
Dionisis
Ο "José Lalí­n" <notengo@correo.com> έγραψε στο μήνυμα
news:4707fca1$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>
> Dionisis,
>
> I haven't find a good way to show that dialog on Vista.
>
> Anyhow, if you can do it without having to show the dialog, try adding the
> OBJ to your project and insert this code in a module.
>
> #pragma BEGINDUMP
>
> #include <windows.h>
> #include <xailer.h>
>
> XA_FUNC( XA_VISTASHUTDOWN )
> {
> hb_retl( VistaShutdown() );
> }
>
> #pragma ENDDUMP
>
> To test it just call: XA_VistaShutdown() from your application and let me
> know if it works.
>
> Regards,
> José Lalí­n
>