I tried to compile the sample program testtre2.prg and get the error
Unresolved external symbol '_TreeView_SetItemState referenced from Fivehcm.lib(TREEVIEW.obj)'
I am using FWH 10.7 + xhb.com builder nov. 2009
ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Hi Gale FORD,
As a workaround add this code to prg file.
As a workaround add this code to prg file.
Code: Select all
#pragma BEGINDUMP
BOOL TreeView_SetItemState( void * p, BOOL bState ) {
return TRUE;
}
#pragma ENDDUMP
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
I have the same error when compile with FWH 11.06 + xHarbour.org 1.21.9376 + MSVC2008.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Antonio, with the lib uptaded:
Fivehcm.lib(TREEVIEW.obj) : error LNK2019: riferimento al simbolo esterno _TreeView_SetCheckState non risolto nella funzione _HB_FUN_TVSETCHECK
Fivehcm.lib(TREEVIEW.obj) : error LNK2019: riferimento al simbolo esterno _TreeView_GetCheckState non risolto nella funzione _HB_FUN_TVGETCHECK
("riferimento al simbolo esterno" is the italian translate of "Unresolved external symbol")
If I include in my app the treeview.c in FWH\Source\WinAPi i get no errors, seems we have different CommCtrl.h.
Fivehcm.lib(TREEVIEW.obj) : error LNK2019: riferimento al simbolo esterno _TreeView_SetCheckState non risolto nella funzione _HB_FUN_TVSETCHECK
Fivehcm.lib(TREEVIEW.obj) : error LNK2019: riferimento al simbolo esterno _TreeView_GetCheckState non risolto nella funzione _HB_FUN_TVGETCHECK
("riferimento al simbolo esterno" is the italian translate of "Unresolved external symbol")
If I include in my app the treeview.c in FWH\Source\WinAPi i get no errors, seems we have different CommCtrl.h.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Patrizio,
This one should be ok
http://fivewin.googlecode.com/files/Fivehcm.lib
Many thanks for your feedback!
This one should be ok
http://fivewin.googlecode.com/files/Fivehcm.lib
Many thanks for your feedback!
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Antonio,
now it's ok, thank you.
now it's ok, thank you.