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 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