×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Integrating MFC Application with CORBA.

Integrating MFC Application with CORBA.

Integrating MFC Application with CORBA.

(OP)
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
     
Replies continue below

Recommended for you

RE: Integrating MFC Application with CORBA.

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

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

Thanks
Mao

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close