Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
On Wed, 17 Sep 2008 18:47:59 +0200, you wrote: >On Wed, 17 Sep 2008, [EMAIL PROTECTED] wrote: > >Hi Toninho, > >> Yes, I'm using BCC 6.10 but I have GPF in prior versions too, same >> using -DHB_FM_WIN32_ALLOC, and GPF appear *ONLY* when app finish. >> I'm not 100% right but seems that functions l

Re: [Harbour] GPF sample

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, [EMAIL PROTECTED] wrote: Hi Toninho, > >I can confirm, it crashes here with an empty GPF MessageBox. > >BCC 5.8.2, MT, UNICODE, ADS 9.00. > Yes, for this reason my LOG of codeguard has no lines or sources, I'm afraid it was mistake in CG configuration/Harbour build switches.

Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
>Hi Toninho, > >I can confirm, it crashes here with an empty GPF MessageBox. > >BCC 5.8.2, MT, UNICODE, ADS 9.00. Yes, for this reason my LOG of codeguard has no lines or sources, Thanks and best regards, Toninho. ___ Yahoo! Mail - Sempre

Re: [Harbour] GPF sample

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, [EMAIL PROTECTED] wrote: Hi Toninho, > Yes, I'm using BCC 6.10 but I have GPF in prior versions too, same > using -DHB_FM_WIN32_ALLOC, and GPF appear *ONLY* when app finish. > I'm not 100% right but seems that functions like below GPF in the same The GPF was inside code used

Re: [Harbour] GPF sample

2008-09-17 Thread Szakáts Viktor
Hi Toninho, I can confirm, it crashes here with an empty GPF MessageBox. BCC 5.8.2, MT, UNICODE, ADS 9.00. Brgds, Viktor On 2008.09.17., at 13:51, [EMAIL PROTECTED] wrote: Just an off-topic recommendation. For an equivalent, but speedier, shorter and - Harbour-only - _portable_ code, you sho

Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
>Just an off-topic recommendation. For an equivalent, but >speedier, shorter and - Harbour-only - _portable_ code, >you should - instead of the above - consider using this: >--- >PROCEDURE RDDSYS() > RETURN Viktor, I', tested and GPF in the same way: ---cut--- procedure main() return functio

Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
>Thank you for example. It's very strange. It shouldn't GPF. >Maybe it's a compile/link problem. I guess you are using BCC. >Can someone else check it and confirm the problem. >I cannot replicate it without ADS in my Linux box. Przemek, thank you. Yes, I'm using BCC 6.10 but I have GPF in prior

Re: Re: [Harbour] GPF sample

2008-09-17 Thread [EMAIL PROTECTED]
On Wed, 17 Sep 2008 11:41:42 +0200, you wrote: >Hi Toninho, > >> #pragma BEGINDUMP >> >> #include "windows.h" >> #include "hbapi.h" >> >> HB_FUNC( RDDSYS ) >> { >> hb_ret(); >> } >> >> #pragma ENDDUMP > >Just an off-topic recommendation. For an equivalent, but >speedier, shorter and - Harbour-onl

Re: [Harbour] GPF sample

2008-09-17 Thread Przemyslaw Czerpak
On Wed, 17 Sep 2008, [EMAIL PROTECTED] wrote: Hi Toninho, > The sample below GPF after MT implementation: > I'm using rddads.lib and ace.lib together. > ---cut--- > procedure main() > return > function DboTempOpenFromDbf() >AdsSetFileType( 3 ) > return nil > #pragma BEGINDUMP > #include "wind

Re: [Harbour] GPF sample

2008-09-17 Thread Szakáts Viktor
Hi Toninho, #pragma BEGINDUMP #include "windows.h" #include "hbapi.h" HB_FUNC( RDDSYS ) { hb_ret(); } #pragma ENDDUMP Just an off-topic recommendation. For an equivalent, but speedier, shorter and - Harbour-only - _portable_ code, you should - instead of the above - consider using this: --