Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet

2009-01-15 Thread Miguel Angel Marchuet
Witch solution you found ? i changed priority to 64, default is 100 for this reason is the first init to execute. but i don't know the semantic of #pragma data_seg Best regards, Miguel Angel Marchuet Ron Pinkas escribió: > Miguel, > > I already fixed it in a compiler independent way, and will

Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet

2009-01-15 Thread Ron Pinkas
Miguel, I already fixed it in a compiler independent way, and will commit shortly. Ron -- From: "Miguel Angel Marchuet" Sent: Thursday, January 15, 2009 9:16 AM To: "Przemyslaw Czerpak" ; "Ron Pinkas" ; "xharbour developer list" Subject: Re: [x

Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet

2009-01-15 Thread Miguel Angel Marchuet
with this entry is solved for Borland compilers HB_CALL_ON_STARTUP_BEGIN( _hb_fm_init_ ) hb_xinit(); HB_CALL_ON_STARTUP_END( _hb_fm_init_ ) #if defined( HB_PRAGMA_STARTUP ) #pragma startup _hb_fm_init_ 64 #elif defined( HB_MSC_STARTUP ) #if defined( HB_OS_WIN_64 ) #pragma secti

Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet

2009-01-15 Thread Miguel Angel Marchuet
is possible will be caused by and similar codes #if defined( HB_PRAGMA_STARTUP ) #pragma startup dbfcdx1__InitSymbols #pragma startup _hb_dbfcdx_rdd_init_ #elif defined( HB_MSC_STARTUP ) #if defined( HB_OS_WIN_64 ) #pragma section( HB_MSC_START_SEGMENT, long, read ) #endif

Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet

2009-01-15 Thread Miguel Angel Marchuet
gt;>>> >>>> then GPF is produced because there are a call to hb_xalloc or >>>> hb_xrealloc previous to hb_xinit. Harbour has the same problem >>>> for this reason prezmek needt to protect too. >>>> >>>> But i want to remo

Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet

2009-01-15 Thread Ron Pinkas
SET LFLAGS=-DEBUG -DEBUGTYPE:CV >> >> Ron >> >> >> -------------- >> From: "Miguel Angel Marchuet Frutos" >> Sent: Wednesday, January 14, 2009 10:40 AM >> To: "Ron Pinkas" >> Cc: "

Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet

2009-01-15 Thread Miguel Angel Marchuet
for each thread to eliminate >> some locks at MT. >> >> Best regards >> Miguel Angel Marchuet >> >> Ron Pinkas escribió: >>> Miguel, >>> >>> WHERE do we use fm api before it's initialized? >>> >>> Ron >>&g

Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet

2009-01-14 Thread Ron Pinkas
ot;xharbour developer list" Subject: Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet > I don't tested exctly where is called fm.api but if i remove the > protection > > change: > > # define malloc( n ) ( void * ) HeapAlloc( ( hProcessHe

Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 Miguel AngelMarchuet

2009-01-14 Thread Ron Pinkas
Miguel, WHERE do we use fm api before it's initialized? Ron -- From: "Miguel Angel Marchuet" Sent: Wednesday, January 14, 2009 2:48 AM To: "xharbour developer list" Subject: [xHarbour-developers] 2009-01-14 11:34 UTC+0