Fischer, Clemens
2007-09-03 13:26:56 UTC
Hello Bill,
in Visual Studio 2005 Professional you can simply set your project
configuration for Common Language Runtime support (in Configuration
Properties/General) to "Common Language Runtime Support (/clr)" instead
of "Pure MSIL Common Language Runtime Support (/clr:pure)". Maybe you
can do the same with Express Edition.
With this setting, it's possible to link a managed C++ application to
native C++ libraries, including omniORB. This is what MS calls IJW ("It
just works").
Although i get some linker warnings on "unresolved typeref tokens", my
test application runs (at least initializes the ORB and gets some data
from a CORBA server).
Clemens
________________________________
Von: omniorb-list-***@omniorb-support.com
[mailto:omniorb-list-***@omniorb-support.com] Im Auftrag von
***@aol.com
Gesendet: Freitag, 31. August 2007 16:55
An: omniorb-***@omniorb-support.com
Betreff: [omniORB] Problem linking Omniorb as a Windows Application
Hello,
I am trying to build a Windows application using Omniorb 4.1, but it
cant seem to link in the Omniorb libraries using MS VC++2005.
I can build the application as a Console (command line) application OK,
it links fine in this case.
But if I try to create a Windows forms application (a .NET CLR
application), I get an infinite number of link errors (unresolved
symbols). It appears that it cannot link in the Omniorb libraries to a
Windows forms application. I tried all combinations of the Omniorb
libraries (static, dynamic). I have specified the correct omniorb
libraries in my project.
I am using MS VC 2005 express and the windows SDK.
Has anyone sucessfully used Omniorb in a Windows Application, or know
how to get Omniorb linked in as such ??
Thanks
bill
________________________________
Email and AIM finally together. You've gotta check out free AOL Mail
<http://o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/index.htm?nc
id=AOLAOF00020000000970> !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070903/57155ea1/attachment-0001.htm
in Visual Studio 2005 Professional you can simply set your project
configuration for Common Language Runtime support (in Configuration
Properties/General) to "Common Language Runtime Support (/clr)" instead
of "Pure MSIL Common Language Runtime Support (/clr:pure)". Maybe you
can do the same with Express Edition.
With this setting, it's possible to link a managed C++ application to
native C++ libraries, including omniORB. This is what MS calls IJW ("It
just works").
Although i get some linker warnings on "unresolved typeref tokens", my
test application runs (at least initializes the ORB and gets some data
from a CORBA server).
Clemens
________________________________
Von: omniorb-list-***@omniorb-support.com
[mailto:omniorb-list-***@omniorb-support.com] Im Auftrag von
***@aol.com
Gesendet: Freitag, 31. August 2007 16:55
An: omniorb-***@omniorb-support.com
Betreff: [omniORB] Problem linking Omniorb as a Windows Application
Hello,
I am trying to build a Windows application using Omniorb 4.1, but it
cant seem to link in the Omniorb libraries using MS VC++2005.
I can build the application as a Console (command line) application OK,
it links fine in this case.
But if I try to create a Windows forms application (a .NET CLR
application), I get an infinite number of link errors (unresolved
symbols). It appears that it cannot link in the Omniorb libraries to a
Windows forms application. I tried all combinations of the Omniorb
libraries (static, dynamic). I have specified the correct omniorb
libraries in my project.
I am using MS VC 2005 express and the windows SDK.
Has anyone sucessfully used Omniorb in a Windows Application, or know
how to get Omniorb linked in as such ??
Thanks
bill
________________________________
Email and AIM finally together. You've gotta check out free AOL Mail
<http://o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/index.htm?nc
id=AOLAOF00020000000970> !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070903/57155ea1/attachment-0001.htm