Página 1 de 1

GPF Error is still happening

Publicado: Sab Dic 28, 2013 10:11 am
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

GPF Error is still happening

Publicado: Dom Dic 29, 2013 6:13 pm
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,

GPF Error is still happening

Publicado: Dom Dic 29, 2013 8:28 pm
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

GPF Error is still happening

Publicado: Jue Ene 02, 2014 10:12 am
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

GPF Error is still happening

Publicado: Mar Ene 21, 2014 2:25 pm
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

GPF Error is still happening

Publicado: Jue Ene 23, 2014 11:17 pm
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

GPF Error is still happening

Publicado: Vie Ene 24, 2014 10:38 am
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