From a0d25ebc8083a6c2e361f8fe2cb43cb6989800a9 Mon Sep 17 00:00:00 2001 From: "Alexander S.Kresin" Date: Mon, 13 Aug 2001 19:16:50 +0000 Subject: [PATCH] 2001-08-13 23:18 GMT+3 Alexander Kresin --- harbour/ChangeLog | 4 ++++ harbour/source/vm/mainwin.c | 1 + 2 files changed, 5 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index cd95b27b15..5bed754d99 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,7 @@ +2001-08-13 23:18 GMT+3 Alexander Kresin + * source/vm/mainwin.c + * added hInstance assignment to hb_hInstance + 2001-08-11 22:45 GMT -3 Luiz Rafael Culik * include/hbextern.ch * removed extern declaration for ALTD() function diff --git a/harbour/source/vm/mainwin.c b/harbour/source/vm/mainwin.c index 3781d86224..e99f43165e 100644 --- a/harbour/source/vm/mainwin.c +++ b/harbour/source/vm/mainwin.c @@ -78,6 +78,7 @@ int WINAPI WinMain( HINSTANCE hInstance, /* handle to current instance */ HB_SYMBOL_UNUSED( hPrevInstance ); HB_SYMBOL_UNUSED( iCmdShow ); + hb_hInstance = hInstance; GetModuleFileName( hInstance, szAppName, 249 ); argv[ 0 ] = szAppName;