Re: RE: [Harbour] gpf with dbcreate and char field

2010-04-23 Thread Przemysław Czerpak
On Fri, 23 Apr 2010, Horodyski Marek (PZUZ) wrote: Hi, > > this sample generates an GPF > > > > struct := {{"campo1","C",65000,0},{"campo2","C",65000,0}} > > dbcreate("test1.dbf",struct) > > --- > > It is normal or I'm doing something wrong ? > No it should be RTE

RE: [Harbour] gpf with dbcreate and char field

2010-04-23 Thread Horodyski Marek (PZUZ)
-Original Message- From: Przemysław Czerpak [mailto:dru...@acn.waw.pl] Sent: Friday, April 23, 2010 12:02 AM To: Harbour Project Main Developer List. Subject: Re: [Harbour] gpf with dbcreate and char field On Thu, 22 Apr 2010, Lautaro Moreira wrote: Hi, > this sample generates an

Re: [Harbour] gpf with dbcreate and char field

2010-04-22 Thread Lautaro Moreira
Ok, Many thanks, Lautaro Moreira El 22/04/2010 18:02, Przemysław Czerpak escribió: On Thu, 22 Apr 2010, Lautaro Moreira wrote: Hi, this sample generates an GPF struct := {{"campo1","C",65000,0},{"campo2","C",65000,0}} dbcreate("test1.dbf",struct) --- It i

Re: [Harbour] gpf with dbcreate and char field

2010-04-22 Thread Przemysław Czerpak
On Thu, 22 Apr 2010, Lautaro Moreira wrote: Hi, > this sample generates an GPF > > struct := {{"campo1","C",65000,0},{"campo2","C",65000,0}} > dbcreate("test1.dbf",struct) > --- > It is normal or I'm doing something wrong ? No it should be RTE instead of GPF. In

Re: [Harbour] gpf with dbcreate and char field

2010-04-22 Thread Lautaro Moreira
Hello, Yes, I' know is it wrong but is simple for a small program. Best regards, PD: Sorry for my bad english. El 22/04/2010 17:03, Estéfano Tonon escribió: You'll trying to create a field with length = 65000 ??? Em 22/4/2010 17:57, Lautaro Moreira escreveu: Hello, this sample generates

Re: [Harbour] gpf with dbcreate and char field

2010-04-22 Thread Estéfano Tonon
You'll trying to create a field with length = 65000 ??? I don't know the limitation... but this field length is too big... use memo... []'s Tonon Em 22/4/2010 17:57, Lautaro Moreira escreveu: Hello, this sample generates an GPF struct := {{"campo1","C",65000,0},{"cam

Re: [Harbour] gpf with dbcreate and char field

2010-04-22 Thread Estéfano Tonon
You'll trying to create a field with length = 65000 ??? Em 22/4/2010 17:57, Lautaro Moreira escreveu: Hello, this sample generates an GPF struct := {{"campo1","C",65000,0},{"campo2","C",65000,0}} dbcreate("test1.dbf",struct) --- It is normal or I'm doing

[Harbour] gpf with dbcreate and char field

2010-04-22 Thread Lautaro Moreira
Hello, this sample generates an GPF struct := {{"campo1","C",65000,0},{"campo2","C",65000,0}} dbcreate("test1.dbf",struct) --- It is normal or I'm doing something wrong ? Best regards, Lautaro Moreira ___ Harbour

Re: [Harbour] gpf on Copy struc with no open dbf

2009-09-11 Thread Przemyslaw Czerpak
On Thu, 10 Sep 2009, AbeB wrote: > Proc Main() > copy struc to temp Thank you for information. Fixed. I'll try to commit it today. best regards, Przemek ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listin

[Harbour] gpf on Copy struc with no open dbf

2009-09-10 Thread AbeB
Proc Main() copy struc to temp -- View this message in context: http://n2.nabble.com/gpf-on-Copy-struc-with-no-open-dbf-tp3622441p3622441.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list Harbour@harbour-p

Re: [Harbour] GPF oemtoansi()

2009-08-17 Thread Przemyslaw Czerpak
On Mon, 17 Aug 2009, Itamar Lins wrote: Hi, > $Id: ChangeLog 12153 2009-08-17 18:02:30Z vszakats $ > With MSVC, OS Windows XP SP3. > Function Main > ? oemtoansi(cmonth(date())) //I Get GPF. Harbour does not have OEMTOANSI() function so it's not our problem. best regards, Przemek __

Re: [Harbour] GPF oemtoansi()

2009-08-17 Thread Viktor Szakáts
Hi Itamar, OEMTOANSI() is not a Harbour function. Try HB_OEMTOANSI(). Brgds, Viktor On 2009.08.17., at 9:52, Itamar Lins wrote: Hi! $Id: ChangeLog 12153 2009-08-17 18:02:30Z vszakats $ With MSVC, OS Windows XP SP3. Function Main ? oemtoansi(cmonth(date())) //I Get GPF. Best Regards, Itamar

[Harbour] GPF oemtoansi()

2009-08-17 Thread Itamar Lins
Hi! $Id: ChangeLog 12153 2009-08-17 18:02:30Z vszakats $ With MSVC, OS Windows XP SP3. Function Main ? oemtoansi(cmonth(date())) //I Get GPF. Best Regards, Itamar M. Lins Jr. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-

[Harbour] gpf in GT

2009-06-23 Thread marek . horodyski
in code ( in different GT) : Function Main() Cls ? hb_gtinfo( 43) __Wait( '...') Return Nil Regards, Marek Horodyski -- Dobra czy zla wiadomosc? Zawsze warto oszczedzac. Teraz 5,5%. Sprawd� > http://link.interia.pl/f221b _

Re: [Harbour] gpf

2009-05-25 Thread Xavi
Small, reduced, self-contained, sample of how cause gpf only with -gc3 .- Procedure Main() Local x, stringORarray := 'Small' for each x in stringORarray switch x case 'a' exit end ? x next // GPF Wait return -- Xavi P.S. Sorry for my bad english. :'( marek.

RE: [Harbour] gpf

2009-05-25 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Xavi [mailto:jara...@gmail.com] >Sent: Sunday, May 24, 2009 12:11 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] gpf > >Hi Marek, > >marek.horody...@interia.pl escribió: >> [...] >> Maby, for optim

Re: [Harbour] gpf

2009-05-24 Thread Xavi
Hi Marek, marek.horody...@interia.pl escribió: How we can without additive rules use exit for escape from loop in this syntax : for each x in stringORarray switch x case 'a' exit // but we need exit from "for each", not only from switch end next Maby, for optimization, for escape from switch

[Harbour] gpf

2009-05-23 Thread marek . horodyski
This small example work : Function Main() Local a, b, c, t := {} rtzp( "x := -1, pd, iu, np := 'Drukarka.', p := Zrodlo() + 'prewencj.a', v := V(), l",, t) for each c in t ? c next Return Nil Function RTZP( l, s, t) Local z := '', n := 1, c, depth := 0, i := Len( l), o := .t., lc := '"'+"'

[Harbour] GPF in hbmysql

2008-11-16 Thread Giangi
I've a GPF launching hbmysql\tests\test.prg This is the log file: Application Internal Error - C:\harbour\contrib\hbmysql\tests\test.exe Terminated at: 2008.10.12 17:09:27 Unrecoverable error 6005: Exception error: Exception Code:C005 Exception Address:100292FB EAX:00353ED8 EBX:

Re: [Harbour] GPF in dbCloseAll()

2008-11-03 Thread Szakáts Viktor
Hi Przemek, Okay, I now get what's happening. I didn't count with the fact that this problem can be exploited by EXIT PROC and not just rogue error handler, but yeah, EXIT will trigger these just if they were part of the handler. This is pretty grave... Now I've simply removed this dbCloseAll()

Re: [Harbour] GPF in dbCloseAll()

2008-11-03 Thread Przemyslaw Czerpak
On Mon, 03 Nov 2008, Szak�ts Viktor wrote: Hi Viktor, > This code will consistently GPF (tried in 1.0.1 BCC 5.5, > current 1.0.1dev with MSVC 2005, and a bit older 1.1.0dev with BCC 5.8) > --- > PROC Main() > USE nothere // This file should not exist, and a QUIT should be selected > in the

[Harbour] GPF in dbCloseAll()

2008-11-03 Thread Szakáts Viktor
Hi all, This code will consistently GPF (tried in 1.0.1 BCC 5.5, current 1.0.1dev with MSVC 2005, and a bit older 1.1.0dev with BCC 5.8) --- PROC Main() USE nothere // This file should not exist, and a QUIT should be selected in the RTE alert. RETURN EXIT PROCEDURE App_Exit()

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: --

[Harbour] GPF sample

2008-09-16 Thread [EMAIL PROTECTED]
Hi friends, 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 "windows.h" #include "hbapi.h" HB_FUNC( RDDSYS ) { hb_ret(); }

[Harbour] GPF sample

2008-09-16 Thread [EMAIL PROTECTED]
Hi friends, 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 "windows.h" #include "hbapi.h" HB_FUNC( RDDSYS ) { hb_ret(); }

Re: [Harbour] GPF upon app exiting

2008-09-14 Thread [EMAIL PROTECTED]
>Just rebuild a small app I have with SVN 9396 and upon >closing the app I get a gpf that's logged in hb_outl.log >(it happens 3 times, just pasting here the 1st msg): Hi Luis. I'm sending the same problem yesterday to this list and I'm trying to debug it. Do you are a codeguard expert to help me

[Harbour] GPF upon app exiting

2008-09-14 Thread Luis Krause Mantilla
Hi: Just rebuild a small app I have with SVN 9396 and upon closing the app I get a gpf that's logged in hb_outl.log (it happens 3 times, just pasting here the 1st msg): [BCC 5.5.1, ST] Application Exception - F:\AplicW\IVA\ivawH.exe Terminated at: 2008.09.14 13:11:44 Exception Code:C005