In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

ShExitWindowsDlg causes GPF on Vista

Xailer professional forum in English
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

ShExitWindowsDlg causes GPF on Vista

Mensaje por Dionisis Divaris »


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

Attached files
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
>
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Xailer
Mensajes: 328
Registrado: Mar Dic 23, 2008 5:40 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
>
Dionisis Divaris
SGS-soft
Home Page :
Support at :support.sgs@gmail.com[/email]
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje por notengo »

Dionisis,
in what moment appears the GPF ? Also, are you passing any parameter to the
function ?
Regards,
José Lalí­n
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje por notengo »

Dionisis,
in what moment appears the GPF ? Also, are you passing any parameter to the
function ?
Regards,
José Lalí­n
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Xailer
Mensajes: 328
Registrado: Mar Dic 23, 2008 5:40 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
Dionisis Divaris
SGS-soft
Home Page :
Support at :support.sgs@gmail.com[/email]
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Xailer
Mensajes: 328
Registrado: Mar Dic 23, 2008 5:40 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
Dionisis Divaris
SGS-soft
Home Page :
Support at :support.sgs@gmail.com[/email]
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
>>
>
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
>>
>
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Xailer
Mensajes: 328
Registrado: Mar Dic 23, 2008 5:40 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
Dionisis Divaris
SGS-soft
Home Page :
Support at :support.sgs@gmail.com[/email]
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
--
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
--
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
>
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Xailer
Mensajes: 328
Registrado: Mar Dic 23, 2008 5:40 pm

ShExitWindowsDlg causes GPF on Vista

Mensaje 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
>
Dionisis Divaris
SGS-soft
Home Page :
Support at :support.sgs@gmail.com[/email]
Responder