TWindow Class: 3 Unresolved externals when linking

Post Reply
angelo.c
Posts: 36
Joined: Thu Mar 30, 2006 11:19 am

TWindow Class: 3 Unresolved externals when linking

Post by angelo.c »

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
angelo.c
Posts: 36
Joined: Thu Mar 30, 2006 11:19 am

Post by angelo.c »

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

Post by Antonio Linares »

Angelo,

function CreateTool( x, y, z )

return CreateToolTip( x, y, z )
regards, saludos

Antonio Linares
www.fivetechsoft.com
angelo.c
Posts: 36
Joined: Thu Mar 30, 2006 11:19 am

Post by angelo.c »

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

Post by Antonio Linares »

Angelo,

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

Antonio Linares
www.fivetechsoft.com
angelo.c
Posts: 36
Joined: Thu Mar 30, 2006 11:19 am

Post by angelo.c »

Thank you Antonio.

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

Best Regards, Angelo
Post Reply