ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Postby Gale FORd » Mon Aug 23, 2010 4: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
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Postby Horizon » Mon Aug 23, 2010 7:35 pm

Hi Gale FORD,

As a workaround add this code to prg file.

Code: Select all  Expand view
#pragma BEGINDUMP

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

#pragma ENDDUMP
 
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Postby Patrizio » Fri Jul 08, 2011 2:00 pm

I have the same error when compile with FWH 11.06 + xHarbour.org 1.21.9376 + MSVC2008.
Patrizio
 
Posts: 90
Joined: Wed Nov 07, 2007 8:56 am
Location: Italy

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Postby Antonio Linares » Mon Jul 11, 2011 9:31 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Postby Patrizio » 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.
Patrizio
 
Posts: 90
Joined: Wed Nov 07, 2007 8:56 am
Location: Italy

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Postby Patrizio » Mon Jul 11, 2011 12:55 pm

Antonio,
now it's ok, thank you.
Patrizio
 
Posts: 90
Joined: Wed Nov 07, 2007 8:56 am
Location: Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 109 guests