2010-03-04 13:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* examples/gtwvw/wvwcheck.c
  * examples/gtwvw/wvwedit.c
  * examples/gtwvw/hbgtwvw.h
    ! Added not terribly elegant (local) fix to missing 'hb_hInstance'
      link time errors. Not tested besides successful lib build.
This commit is contained in:
Viktor Szakats
2010-03-04 12:09:05 +00:00
parent 7da18ea3dc
commit ef0f510518
4 changed files with 19 additions and 5 deletions

View File

@@ -17,6 +17,13 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-03-04 13:08 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* examples/gtwvw/wvwcheck.c
* examples/gtwvw/wvwedit.c
* examples/gtwvw/hbgtwvw.h
! Added not terribly elegant (local) fix to missing 'hb_hInstance'
link time errors. Not tested besides successful lib build.
2010-03-04 11:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
* harbour/src/vm/macro.c

View File

@@ -625,8 +625,6 @@ typedef struct wvw_data
#define HB_PARHANDLE( n ) ( ( LONG ) hb_parnl( n ) )
#define HB_STOREHANDLE( h, n ) hb_stornl( ( LONG ) ( h ), n )
HB_EXTERN_BEGIN
extern HANDLE hb_hInstance;
extern HANDLE hb_hPrevInstance;
/* Get functions for internal Data */
extern BOOL hb_gt_wvw_GetMainCoordMode( void );

View File

@@ -463,6 +463,7 @@ HB_FUNC( WVW_CXSTATUSFONT )
HB_FUNC( WVW_PGCREATE)
{
HANDLE hInstance = NULL;
UINT usWinNum = WVW_WHICH_WINDOW;
WIN_DATA * pWindowData = hb_gt_wvw_GetWindowsData( usWinNum );
HWND hWndParent = pWindowData->hWnd;
@@ -523,6 +524,8 @@ HB_FUNC( WVW_PGCREATE)
iStyle = iStyle | PBS_SMOOTH;
}
hb_winmainArgGet( &hInstance, NULL, NULL );
hWndPG = CreateWindowEx(
0L,
PROGRESS_CLASS,
@@ -534,7 +537,7 @@ HB_FUNC( WVW_PGCREATE)
iBottom-iTop+1,
hWndParent,
(HMENU) uiPGid,
(HINSTANCE) hb_hInstance,
(HINSTANCE) hInstance,
(LPVOID) NULL
);

View File

@@ -121,6 +121,7 @@
HB_FUNC( WVW_EBCREATE)
{
HANDLE hInstance = NULL;
UINT usWinNum = WVW_WHICH_WINDOW;
WIN_DATA * pWindowData = hb_gt_wvw_GetWindowsData( usWinNum );
HWND hWndParent = pWindowData->hWnd;
@@ -203,6 +204,8 @@ HB_FUNC( WVW_EBCREATE)
}
hb_winmainArgGet( &hInstance, NULL, NULL );
hWndEB = CreateWindowEx(
0L,
"EDIT",
@@ -214,7 +217,7 @@ HB_FUNC( WVW_EBCREATE)
iBottom-iTop+1,
hWndParent,
(HMENU) uiEBid,
(HINSTANCE) hb_hInstance,
(HINSTANCE) hInstance,
(LPVOID) NULL
);
@@ -722,6 +725,7 @@ HB_FUNC( WVW_EBSETSEL )
HB_FUNC( WVW_STCREATE )
{
HANDLE hInstance = NULL;
UINT usWinNum = WVW_WHICH_WINDOW;
WIN_DATA * pWindowData = hb_gt_wvw_GetWindowsData( usWinNum );
WVW_DATA * pData = hb_getWvwData( ) ;
@@ -799,6 +803,8 @@ HB_FUNC( WVW_STCREATE )
uiCBid++;
}
hb_winmainArgGet( &hInstance, NULL, NULL );
hWndCB = CreateWindowEx(
ulExStyle,
"STATIC",
@@ -810,7 +816,7 @@ HB_FUNC( WVW_STCREATE )
iBottom-iTop+1,
hWndParent,
(HMENU) uiCBid,
(HINSTANCE) hb_hInstance,
(HINSTANCE) hInstance,
(LPVOID) NULL
);