FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Posted: Mon Aug 23, 2010 04:22 PM

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

Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Posted: Mon Aug 23, 2010 07:35 PM
Hi Gale FORD,

As a workaround add this code to prg file.

Code (fw): Select all Collapse
#pragma BEGINDUMP

BOOL TreeView_SetItemState( void * p, BOOL bState ) {
  return TRUE;
}

#pragma ENDDUMP
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 90
Joined: Wed Nov 07, 2007 08:56 AM
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Posted: Fri Jul 08, 2011 02:00 PM

I have the same error when compile with FWH 11.06 + xHarbour.org 1.21.9376 + MSVC2008.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Posted: Mon Jul 11, 2011 09:31 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 90
Joined: Wed Nov 07, 2007 08:56 AM
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Posted: Mon Jul 11, 2011 10:03 AM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Posted: Mon Jul 11, 2011 11:00 AM
Patrizio,

This one should be ok :-)
http://fivewin.googlecode.com/files/Fivehcm.lib

Many thanks for your feedback! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 90
Joined: Wed Nov 07, 2007 08:56 AM
Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Posted: Mon Jul 11, 2011 12:55 PM

Antonio,
now it's ok, thank you.

Continue the discussion