Page 1 of 1

TWindow Class: 3 Unresolved externals when linking

Posted: Sat Mar 24, 2007 5:05 am
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

Posted: Sat Mar 24, 2007 5:43 am
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

Posted: Sat Mar 24, 2007 6:22 am
by Antonio Linares
Angelo,

function CreateTool( x, y, z )

return CreateToolTip( x, y, z )

Posted: Sat Mar 24, 2007 8:28 am
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

Posted: Sat Mar 24, 2007 5:18 pm
by Antonio Linares
Angelo,

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

Posted: Mon Mar 26, 2007 11:07 am
by angelo.c
Thank you Antonio.

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

Best Regards, Angelo