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
User avatar
emeasoft
Posts: 1062
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

GPF Error is still happening

Postby emeasoft » Sat Dec 28, 2013 10:11 am

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
User avatar
ignacio
Site Admin
Posts: 8555
Joined: Mon Apr 06, 2015 8:00 pm
Location: Madrid, Spain
Contact:

GPF Error is still happening

Postby ignacio » Sun Dec 29, 2013 6:13 pm

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
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
User avatar
jfgimenez
Site Admin
Posts: 5620
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

GPF Error is still happening

Postby jfgimenez » Sun Dec 29, 2013 8:28 pm

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
User avatar
emeasoft
Posts: 1062
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

GPF Error is still happening

Postby emeasoft » Thu Jan 02, 2014 10:12 am

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
User avatar
emeasoft
Posts: 1062
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

GPF Error is still happening

Postby emeasoft » Tue Jan 21, 2014 2:25 pm

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
Posts: 475
Joined: Tue Jul 24, 2012 10:21 pm

GPF Error is still happening

Postby Cassiano de Oliveira » Thu Jan 23, 2014 11:17 pm

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
User avatar
emeasoft
Posts: 1062
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

GPF Error is still happening

Postby emeasoft » Fri Jan 24, 2014 10:38 am

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

Return to “English”