TWindow Class: 3 Unresolved externals when linking

TWindow Class: 3 Unresolved externals when linking

Postby angelo.c » Sat Mar 24, 2007 5: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
angelo.c
 
Posts: 36
Joined: Thu Mar 30, 2006 11:19 am

Postby angelo.c » Sat Mar 24, 2007 5: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
angelo.c
 
Posts: 36
Joined: Thu Mar 30, 2006 11:19 am

Postby Antonio Linares » Sat Mar 24, 2007 6:22 am

Angelo,

function CreateTool( x, y, z )

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

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

Postby angelo.c » Sat Mar 24, 2007 8: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
angelo.c
 
Posts: 36
Joined: Thu Mar 30, 2006 11:19 am

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

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


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 2 guests