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.

GPF Error is still happening

Xailer professional forum in English
Responder
Avatar de Usuario
emeasoft
Mensajes: 1094
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

GPF Error is still happening

Mensaje por emeasoft »

Hello Xailers,
The GPF errors is still happening... and we have no idea why, because it does not happens in all costumers.
Here are two GPF:


Can anyone help?
TIA,
Juliano

Attached files
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9442
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

GPF Error is still happening

Mensaje por ignacio »

Dear Sir,
With a small problem that reproduces your errors is almost impossible to know what is happening. Sorry.
It seems one of the errors is produced when printing a richedit. You could make a simply test with that richedit file and see if the GPF is reproduced constantly.
Sorry for not giving you a better answer.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

GPF Error is still happening

Mensaje por jfgimenez »

El 28/12/2013 10:11, www[dot]eMeAsOfT[dot]com escribió:
> Hello Xailers,
>
> The GPF errors is still happening... and we have no idea
> why, because it does not happens in all costumers.
>
> Here are two GPF:
The first one happens in TRichEdit:Print() method, and there is only one
line that can cause a "Divide by Zero" exception:
SetRect( &rect, 0, 0, GetDeviceCaps( hDC, PHYSICALWIDTH ) * 254 /
GetDeviceCaps( hDC, LOGPIXELSX ),
GetDeviceCaps( hDC, PHYSICALHEIGHT ) * 254 /
GetDeviceCaps( hDC, LOGPIXELSY ) );
And it's only possible if:
1) you have no printer at all in your computer.
2) you have a printer which driver is giving 0 for LOGPIXELSX or
LOGPIXELSY (it's almost impossible).
3) you are sending an incorrect value in the second parameter. This
second parameter must be a valid hDC. If it's not passed, then Xailer
uses the current printer DC. So, if you are not sure about it, just
don't send the second parameter (or send NIL).
Regarding the second GPF, it seems you are using some kind of COM
library to send data through serial port. And it seems that this library
has buggy and is causing the GPF.
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
emeasoft
Mensajes: 1094
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

GPF Error is still happening

Mensaje por emeasoft »

Thanks for the help Ignacio and Jose,
These are some very strange errors... because it does not happen everytime... But I will look for this hints you gave.
Regards,
Juliano
Avatar de Usuario
emeasoft
Mensajes: 1094
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

GPF Error is still happening

Mensaje por emeasoft »

Hello xailers,
Now the error happend here:

I made a lot of tests here... removed all the C codes, but this GPF is still occuring...

Attached files
Cassiano de Oliveira
Mensajes: 475
Registrado: Mar Jul 24, 2012 10:21 pm

GPF Error is still happening

Mensaje por Cassiano de Oliveira »

Alguma novidade Juliano?
---
Este email está limpo de ví­rus e malwares porque a proteção do avast! Antiví­rus está ativa.
http://www.avast.com
Avatar de Usuario
emeasoft
Mensajes: 1094
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

GPF Error is still happening

Mensaje por emeasoft »

Então Cassiano,
Após muitas tentativas sem íªxito, nós voltamos para o compilador BCC e aparentemente os erros pararam.
-------------------------
So Cassiano,
After many tries without success, we have returned to the BCC compiler and the errors apparently stopped.
Juliano
Responder