FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) TWindow Class: 3 Unresolved externals when linking
Posts: 36
Joined: Thu Mar 30, 2006 11:19 AM
TWindow Class: 3 Unresolved externals when linking
Posted: Sat Mar 24, 2007 05:05 AM

Hello everyone,

I use FW++ 7.01, Alaska XBase++ Intl V1.90.331 and BorlandC Resource Compiler brcc32 V5.02 to manage my resources.

I am trying to use a slightly modified TWindow Class in my application. I compile the window.prg source file provided in the FiveWin++ V7.01 ..\source\classes directory and get the following unresolved external symbols:

d:\ac\fivedb_ac_ph\project\WINDOW.obj: error ALK2102: unresolved external symbol CHILDLEVEL
d:\ac\fivedb_ac_ph\project\WINDOW.obj: error ALK2102: unresolved external symbol VBXEVENT
d:\ac\fivedb_ac_ph\project\WINDOW.obj: error ALK2102: unresolved external symbol CREATETOOL
ALINK: fatal error ALK4102: 3 external symbols unresolved

Could a new Five32rt.lib and .dll file be provided with these functions accessible please?

Best Regards, Angelo

Posts: 36
Joined: Thu Mar 30, 2006 11:19 AM
TWindow Class: 3 Unresolved externals when linking
Posted: Sat Mar 24, 2007 05:43 AM

On some further investigation I found the following in db10.prg and odata.prg in the FiveWin V7.01 ..\Function directory.

function ChildLevel( o, oClass ) // There is no way to use :IsDerivedFrom()
// using 10 chars symbols
return If( o:IsDerivedFrom( oClass ) .or. ;
Upper( o:ClassName() ) == Upper( oClass:ClassName() ), 1, 0 )

function VbxEvent()
return nil

So now I only need to resolve the symbol CREATETOOL (10 char truncated for CreateToolTip) in an updated five32rt.lib and .dll file.

Angelo

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
TWindow Class: 3 Unresolved externals when linking
Posted: Sat Mar 24, 2007 06:22 AM

Angelo,

function CreateTool( x, y, z )

return CreateToolTip( x, y, z )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 36
Joined: Thu Mar 30, 2006 11:19 AM
TWindow Class: 3 Unresolved externals when linking
Posted: Sat Mar 24, 2007 08:28 AM

Thanks Antonio,
I placed the function as you describe into my local copy of db10.prg but I still get the following unresolved external symbol.

d:\ac\fivedb_ac_ph\project\DB10.obj: error ALK2102: unresolved external symbol CREATETOOLTIP
ALINK: fatal error ALK4102: 1 external symbols unresolved

I did a text search of the version I am using of five32rt.lib for "CreateToolTip" but can't find any reference to it.

I do find other references such as CREATECARE (CreateCaret), CREATEDC, CREATEDLG, CREATEDLGI, CREATEFONT etc etc.

Unless I am missing something it still seems that I do not have a reference to CreateToolTip (CREATETOOL) in my libarary five32rt.lib

Best regards, Angelo

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
TWindow Class: 3 Unresolved externals when linking
Posted: Sat Mar 24, 2007 05:18 PM

Angelo,

Tomorrow, Sunday, we will email you a modified library. Today we are not at our offices.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 36
Joined: Thu Mar 30, 2006 11:19 AM
TWindow Class: 3 Unresolved externals when linking
Posted: Mon Mar 26, 2007 11:07 AM

Thank you Antonio.

The new modified FW++ libraries fix this problem. The CreateToolTip function is now available.

Best Regards, Angelo

Continue the discussion