Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Integrating MFC Application with CORBA.

Status
Not open for further replies.

rasool

Programmer
Aug 14, 2002
1
0
0
PK
Hi All,

I am facing linking problems when i tried to integrate my MFC Application with CORBA Application.

I initially created CORBA callback application with VC++ 6.0 and Orbix 2000 and it is working fine. Now i tried to combine it with the small MFC Application. The MFC Application conatins a list box whose field values have to be populated when the callback is called by CORBA Server.I register the callback with the CORBA server after the list box is opened.
i.e.
registers CB registers CB
with CORBA Client with CORBA Server
GUI ------------------>CORBA ------------> CORBA Server
Appl Client
<------------------ <------------
Gives the field values calls CORBA Client
of listbox CB function when an event
occurs.
I was successful in establishing the connection between CORBA client and Server and Whenever the callback is called i was able to receive the required information about the event in the client side. But i am not very sure how to get the details in my GUI application. Moreover while linking these two .exe i get following errors eventhough i have similar project settings for both.

nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv
nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc
nafxcwd.lib(olelink.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcwd.lib(dcmeta.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcwd.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcwd.lib(timecore.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcwd.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcwd.lib(oledlgs1.obj) : error LNK2001: unresolved external symbol __mbctype
Debug/Example1.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

Is there any other way to implement this appl? or i will be grateful if u could tell me how i can resolve this linking problem.

Thanks in Advance.

Regards,
Jawith
 
I'm facing exactly the same problem, although using TAO instead of orbix.

Have you found the solution?? Could you post it?

Thanks
Mao
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top