Antonio,
I have separated my makegnu.bat from my other makeb32.bat in my hs folder and have
put it in my hs1 folder. It does build for me too. I am going to start over with makeb32.bat in a fresh
folder.
My current makegnu.bat
del \hs1\harbour\bin\*.exe
del \harbour\*.exe
SET PATH=c:\bcc55\bin
SET HB_COMPILER=bcc
SET HB_USER_CFLAGS=-DHB_FM_STATISTICS_OFF
make_gnu clean install > make_gnu.log 2>&1
copy \hs1\harbour\bin\*.exe \harbour\bin\
Here is what I have in the hvm.c file.
/* application entry point */
#include <windows.h> // new !!!
void hb_vmInit( BOOL bStartMainProc )
{
HB_TRACE(HB_TR_DEBUG, ("hb_vmInit()"));
MessageBox( 0, "before hb_xinit()", "ok", 0 ); // New !!!
hb_xinit();
MessageBox( 0, "after hb_xinit()", "ok", 0 ); // New !!!
hb_vmSetExceptionHandler();
hb_vmSymbolInit_RT(); /* initialize symbol table with runtime
support functions */
#if defined( HB_MT_VM )
hb_threadInit();
hb_vmStackInit( hb_threadStateNew() ); /* initialize HVM thread stack
*/
s_pSymbolsMtx = hb_threadMutexCreate( FALSE );
#else
hb_stackInit(); /* initialize HVM stack */
#endif
I see a lot of this in my make_gnu.log.
-+genhrb.obj &
-+hbcmplib.obj &
-+hbcomp.obj &
-+hbdbginf.obj &
-+hbfunchk.obj &
-+hbgenerr.obj &
-+hbpcode.obj &
-+hbfix.obj &
-+hbdead.obj &
-+hblbl.obj &
-+hbopt.obj &
-+hbstripl.obj &
-+hbusage.obj &
-+hbident.obj &
-+ppcomp.obj &
-+expropta.obj &
-+exproptb.obj &
-+complex.obj &
-+compi18n.obj &
-+hbmain.obj &
-+
Warning: 'harboury' not found in library
Warning: 'cmdcheck' not found in library
Warning: 'genc' not found in library
Warning: 'gencc' not found in library
Warning: 'gencobj' not found in library
Warning: 'genhrb' not found in library
Warning: 'hbcmplib' not found in library
Warning: 'hbcomp' not found in library
Warning: 'hbdbginf' not found in library
Warning: 'hbfunchk' not found in library
Warning: 'hbgenerr' not found in library
Warning: 'hbpcode' not found in library
Warning: 'hbfix' not found in library
Warning: 'hbdead' not found in library
Warning: 'hblbl' not found in library
Warning: 'hbopt' not found in library
Warning: 'hbstripl' not found in library
Warning: 'hbusage' not found in library
Warning: 'hbident' not found in library
Warning: 'ppcomp' not found in library
Warning: 'expropta' not found in library
Warning: 'exproptb' not found in library
Warning: 'complex' not found in library
Warning: 'compi18n' not found in library
Warning: 'hbmain' not found in library
I cannot seem to hit the messagebox in the VMinit()
I still get the exception before I hit the new before vminit messagebox
Thanks