All,
I've simplified the msc startup hook, but don't have time to impliment it
right now.
#if defined(HB_PRAGMA_STARTUP)
#pragma startup hb_codepage_Init_BGMIK
#elif defined(HB_MSC_STARTUP)
#pragma data_seg( HB_MSC_START_SEGMENT )
static HB_$INITSYM hb_vm_auto_hb_codepage_Init_BGMIK =
hb_codepage_Init_BGMIK;
#pragma data_seg()
#endif
this needs to be updated wherever you find it (corrected for each file)
modify include\hbinit.h
#elif defined(HB_MSC_STARTUP)
typedef int (* HB_$INITSYM)( void );
#if _MSC_VER >= 1010
#define HB_MSC_START_SEGMENT ".CRT$XIY"
#else
#define HB_MSC_START_SEGMENT "XIY"
#endif
...
And the 3 locations in genc.c
This should be done in xHarbour and harbour.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour