...
#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 !!!
MessageBox( 0, "before hb_vmSetExceptionHandler()", "ok", 0 ); // New !!!
hb_vmSetExceptionHandler();
MessageBox( 0, "after hb_vmSetExceptionHandler()", "ok", 0 ); // New !!!
MessageBox( 0, "before hb_vmSymbolInit_RT()", "ok", 0 ); // New !!!
hb_vmSymbolInit_RT(); /* initialize symbol table with runtime support functions */
MessageBox( 0, "after hb_vmSymbolInit_RT()", "ok", 0 ); // New !!!
MessageBox( 0, "before hb_stackInit()", "ok", 0 ); // New !!!
hb_stackInit(); /* initialize HVM stack */
MessageBox( 0, "after hb_stackInit()", "ok", 0 ); // New !!!
...
#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
@echo off
rem
rem $Id: make_b32.bat 7995 2007-11-19 14:13:53Z vszakats $
rem
call mtpl_b32.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
@ ECHO OFF
SET PATH=c:\bcc55\bin;c:\mingw\bin;%PATH%
SET HB_COMPILER=bcc
SET HB_USER_CFLAGS=-DHB_FM_STATISTICS_OFF
make_gnu clean install > make_gnu.log 2>&1
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\
/* 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
-+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
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], Silvio.Falconi and 94 guests