some enhancements

This commit is contained in:
Antonio Linares
2001-12-10 16:40:33 +00:00
parent 4b08777fb2
commit a0ff50d69e

View File

@@ -58,6 +58,7 @@
#define HB_OS_WIN_32_USED
#include "hbvm.h"
#include "hbapiitm.h"
#if defined(HB_OS_WIN_32)
@@ -75,12 +76,21 @@ WINAPI DllEntryPoint( HINSTANCE hInstance, DWORD fdwReason, PVOID pvReserved )
HB_SYMBOL_UNUSED( fdwReason );
HB_SYMBOL_UNUSED( pvReserved );
hb_vmInit( FALSE ); /* Don't execute first linked symbol */
switch( fdwReason )
{
case DLL_PROCESS_ATTACH:
hb_vmInit( FALSE ); /* Don't execute first linked symbol */
break;
case DLL_PROCESS_DETACH:
/* hb_vmQuit(); */
break;
}
return TRUE;
}
LONG PASCAL _export HBENTRY( char * cProcName )
LONG PASCAL _export HBDLLENTRY( char * cProcName )
{
hb_itemDoC( cProcName, 0, 0 );