FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 12.03 - _TreeView_SetCheckState again.
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
FWH 12.03 - _TreeView_SetCheckState again.
Posted: Sun Apr 01, 2012 11:30 AM

Hi,

FWH 12.03 gives these errors again.

xLINK: error: Unresolved external symbol '_TreeView_SetCheckState referenced from FiveHCM.lib(TREEVIEW.obj)'.

xLINK: error: Unresolved external symbol '_TreeView_GetCheckState referenced from FiveHCM.lib(TREEVIEW.obj)'.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 12.03 - _TreeView_SetCheckState again.
Posted: Mon Apr 02, 2012 05:48 AM
Hakan,

We have fixed it in a way that those errors should never appear again :-)

In FWH\source\winapi\treeview.c:

Code (fw): Select all Collapse
#if defined( __MINGW_H ) || defined( _MSC_VER ) 
   #define TreeView_SetCheckState(hwndTV, hti, fCheck) \
      TreeView_SetItemState(hwndTV, hti, INDEXTOSTATEIMAGEMASK((fCheck)?2:1), TVIS_STATEIMAGEMASK)
    
   #define TreeView_GetCheckState(hwndTV, hti) \
      ((((UINT)(SNDMSG((hwndTV), TVM_GETITEMSTATE, (WPARAM)(hti), TVIS_STATEIMAGEMASK))) >> 12) -1)     
#endif

#ifdef _MSC_VER
   #define TVM_GETITEMSTATE  (TV_FIRST + 39)
#endif


We email you the modified lib, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: FWH 12.03 - _TreeView_SetCheckState again.
Posted: Mon Apr 02, 2012 08:15 AM

Mr. Antonio,

Is FHW12.03 stable version? Please check your email.

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 12.03 - _TreeView_SetCheckState again.
Posted: Mon Apr 02, 2012 08:18 AM

Frances,

Yes, it is. Its the one that we use for development :-)

got it, thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH 12.03 - _TreeView_SetCheckState again.
Posted: Tue Apr 17, 2012 10:15 AM
Hi Antonio,

I am trying to compile RbDesign.prg with xHarbour Builder. but it gives

Code (fw): Select all Collapse
xLINK: error: Unresolved external symbol '_TreeView_SetItemState referenced from FiveHCM.lib(TREEVIEW.obj)'.

xLINK: fatal error: 1 unresolved external(s).


is there any workaround for it?

ps. I have remarked the HB_HRBRUN and HB_CompileFromBuf functions lines.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 12.03 - _TreeView_SetCheckState again.
Posted: Tue Apr 17, 2012 10:46 AM
Hakan,

As a quick workaround you could add this to the main PRG:

Code (fw): Select all Collapse
#pragma BEGINDUMP

void TreeView_SetItemState( void )
{
}

#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 12.03 - _TreeView_SetCheckState again.
Posted: Tue Apr 17, 2012 10:50 AM

I am emailing you the modified lib...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: FWH 12.03 - _TreeView_SetCheckState again.
Posted: Tue Apr 17, 2012 11:11 AM

thanks

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06

Continue the discussion