FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Function to generate a GPF error at runtime
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM

Function to generate a GPF error at runtime

Posted: Mon Jul 31, 2006 08:14 AM

Hi,
Is there any function to generate a GPF error in xHarbour/FWH ?

I already took a look at xHarbour XDN and I have found the forcegpf() function but it is provided into an "application.prg" file that I have not found into the xHarbour source.

Thanks in advance.

Best Regards,

Marco Turco

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Function to generate a GPF error at runtime

Posted: Mon Jul 31, 2006 11:38 AM

Marco,

You may review samples\TestGpf.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM

Function to generate a GPF error at runtime

Posted: Mon Jul 31, 2006 02:29 PM

Yes. Runs fine. Thanks Antonio.

Best Regards,

Marco

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM

Function to generate a GPF error at runtime

Posted: Mon Jul 31, 2006 04:26 PM

Hi

Out of academic interest I want to know that what is the need to force generation of GPF Error in an application ?

Thanks in advance

  • Ramesh Babu P
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Function to generate a GPF error at runtime

Posted: Mon Jul 31, 2006 05:57 PM

Ramesh,

Basically is to check if the application properly controls it when it happens.

The Harbour/xHarbour builds that we provide have GPF control, so you can see at least the callslist stack to help you locate where the GPF comes from.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion