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 commit shortly.
> 
> Ron
> 
> --------------------------------------------------
> From: "Miguel Angel Marchuet" <[email protected]>
> Sent: Thursday, January 15, 2009 9:16 AM
> To: "Przemyslaw Czerpak" <[email protected]>; "Ron Pinkas" 
> <[email protected]>; "xharbour developer list" 
> <[email protected]>
> Subject: Re: [xHarbour-developers] 2009-01-14 11:34 UTC+0100 
> MiguelAngelMarchuet<[email protected]>
> 
>> 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 section( HB_MSC_START_SEGMENT, long, read )
>>    #endif
>>    #pragma data_seg( HB_MSC_START_SEGMENT )
>>    static HB_$INITSYM hb_vm_auto_fm_init = _hb_fm_init_;
>>    #pragma data_seg()
>> #endif
>>
>> but remain Microsoft ones
>> Any can help to set correct priority to Microsoft compilers
>>
>> Best regards,
>> Miguel Angel Marchuet
>>
>> ------------------------------------------------------------------------------
>>  
>>
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> xHarbour-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>>
> 
> __________ Información de ESET NOD32 Antivirus, versión de la base de 
> firmas de virus 3769 (20090115) __________
> 
> ESET NOD32 Antivirus ha comprobado este mensaje.
> 
> http://www.eset.com
> 
> 
> 
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to