it try to run QHTM Sample from c:\hmg.3.4.4\SAMPLES\HFCL\QHTM\Demo.Prg
so i look at QHTM Source c:\hmg.3.4.4\hfcl\Source\h_qhtm.prg and run hfcl.hbp / buildlib.batHarbour 3.2.0dev (r1703241902)
Copyright (c) 1999-2016, http://harbour-project.org/
C:/hmg.3.4.4/lib\libhfcl.a(h_qhtm.o):h_qhtm.c:(.data+0x1f8): undefined reference to `HB_FUN_QHTM_GETSCROLLPOS'
C:/hmg.3.4.4/lib\libhfcl.a(h_qhtm.o):h_qhtm.c:(.data+0x208): undefined reference to `HB_FUN_QHTM_SETSCROLLPOS'
C:/hmg.3.4.4/lib\libhfcl.a(h_qhtm.o):h_qhtm.c:(.data+0x298): undefined reference to `HB_FUN_QHTM_SETZOOMLEVEL'
collect2.exe: error: ld returned 1 exit status
hbmk2[Demo]: Error: Running linker. 1
...
hbmk2: Error: Referenced, missing, but unknown function(s):
QHTM_GETSCROLLPOS(), QHTM_SETSCROLLPOS(), QHTM_SETZOOMLEVEL()
there IS c:\hmg.3.4.4\hfcl\Source\qhtm.h and it haveHarbour 3.2.0dev (r1703241902)
Copyright (c) 1999-2016, http://harbour-project.org/
R:/Temp/hbmk_4nmkg6.dir/h_qhtm.o:h_qhtm.c:(.data+0x1f8): undefined reference to `HB_FUN_QHTM_GETSCROLLPOS'
R:/Temp/hbmk_4nmkg6.dir/h_qhtm.o:h_qhtm.c:(.data+0x208): undefined reference to `HB_FUN_QHTM_SETSCROLLPOS'
R:/Temp/hbmk_4nmkg6.dir/h_qhtm.o:h_qhtm.c:(.data+0x298): undefined reference to `HB_FUN_QHTM_SETZOOMLEVEL'
collect2.exe: error: ld returned 1 exit status
hbmk2[hfcl]: Error: Running linker. 1
...
hbmk2: Error: Referenced, missing, but unknown function(s):
QHTM_GETSCROLLPOS(), QHTM_SETSCROLLPOS(), QHTM_SETZOOMLEVEL()
Code: Select all
#define QHTM_GetScrollPos( hwnd ) ((UINT) QHTM_SENDMESSAGE( (hwnd), QHTM_GET_SCROLL_POS, 0, 0) )
#define QHTM_SetScrollPos( hwnd, uScrollPos ) ((UINT) QHTM_SENDMESSAGE( (hwnd), QHTM_SET_SCROLL_POS, (WPARAM)(uScrollPos), 0) )
#define QHTM_SetZoomLevel( hwnd, nLevel ) ( (void) QHTM_SENDMESSAGE( hwnd, QHTM_SET_OPTION, QHTM_OPT_ZOOMLEVEL, (LPARAM)nLevel ) )
Code: Select all
#include "qhtm.h"

---
i found Difference in hfcl.hbp vs. hfcl-64.hbp
both "C" files missing
Code: Select all
-hblib
-Iinclude
-I../include
-D__HBIDE__
c_qhtm.c
RichEditBoxEx_C.c

so i run in CMD Box c:\hmg.3.4.4\hfcl\Source\buildlib.bat and got ... libAutoFill.a

as i don't find other libAutoFill.a on PC i guess it is not what HMG Demo use.
i do find libqhtm.a ... in Extendet Version where Demo work

so how to get HMG Version work correct with c:\hmg.3.4.4\SAMPLES\HFCL\QHTM\Demo.Prg

---
i found in c:\hmg.3.4.4\INCLUDE\hfcl.ch
Code: Select all
#include "hfcl_combosearchbox.ch"
#include "hfcl_gridprint.ch"
#include "hfcl_qhtm.ch"
#include "hfcl_RichEditBoxEx.ch"
Code: Select all
#xtranslate QHTM_GetScrollPos( <nHandle> ) => SendMessage( <nHandle>, QHTM_GET_SCROLL_POS, 0, 0 )
#xtranslate QHTM_SetScrollPos( <nHandle>, <nPos> ) => SendMessage( <nHandle>, QHTM_SET_SCROLL_POS, <nPos>, 0 )
#xtranslate QHTM_SetZoomLevel( <hWnd>, <nLevel> ) => SendMessage (<hWnd>, QHTM_SET_OPTION, QHTM_OPT_ZOOMLEVEL, <nLevel>) // nLevel = 0 ... 4
