hi,
srvet_claudio wrote: ↑Tue Sep 29, 2020 10:32 pm
Without wanting to offend you, but you are reinventing the wheel! Read the HMG 64 bit documentation.
THX for Hint
i have read about HMG 64-bits Documentation but i´m still Newbie on 64 Bit.
i´m not a C-Programmer only Xbase++ and Ot4xb which give me Access to Windows Structure and API Function
---
when got Error
hbmk/win/mingw/FMGRID.o:FMGRID.c:(.data+0x1168): undefined reference to `HB_FUN_DESTROYICON'
i wonder why i get the Error while it is used in
c:\hmg.3.4.4\SOURCE\c_controlmisc.c
c:\hmg.3.4.4\SOURCE\c_status.c
in Extended Version i found c:\MiniGUI\SOURCE\c_icon.c
Code: Select all
// BOOL WINAPI DestroyIcon( HICON hIcon )
HB_FUNC( DESTROYICON )
{
hb_retl( DestroyIcon( ( HICON ) ( LONG_PTR ) HB_PARNL( 1 ) ) );
}
now i try to modify that Code to
Code: Select all
hb_retl( DestroyIcon( ( HICON ) ( LONG_PTR ) HMG_parnl( 1 ) ) );
and got
HB_FUNC.PRG: In function 'HB_FUN_DESTROYICON':
HB_FUNC.PRG:407:49: warning: implicit declaration of function 'HMG_parnl' [-Wimplicit-function-declaration]
hbmk2: Linking... HBFM.exe
.hbmk/win/mingw/HB_FUNC.o:HB_FUNC.c:(.text+0xf9b): undefined reference to `HMG_parnl'
so i´m still stuck "how" to use HMG_* instead of hb_*
i still have to learn lot.
thx for help