Discussion:
[omniORB] Problem linking Omniorb as a Windows Application
caldor2004 at aol.com ()
2007-08-31 20:56:29 UTC
Permalink
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://mail.aol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070831/fb2b4797/attachment.htm
Tahar Ouhrouche
2007-08-31 21:09:12 UTC
Permalink
Hi Bill,
Yes, I did. I compiled my application with omniOrb4.1 without any link
errors. However, I'm using Visual Studio 2005 Professional Edition instead
of the express edition.


Cheers,
Tahar
Post by caldor2004 at aol.com ()
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?ncid=AOLAOF00020000000970>
!
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070831/de662a60/attachment.htm
Peter Chase
2007-08-31 21:11:50 UTC
Permalink
Yes, we do exactly that, with exactly the same VC++ version and the same
OmniORB version. We don't use the Visual Studio IDE; you probably can do
so, but I can't offer settings etc. to do so.
Post by caldor2004 at aol.com ()
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
Post by caldor2004 at aol.com ()
links fine in this case.
But if I try to create a Windows forms application (a .NET CLR
application),
Post by caldor2004 at aol.com ()
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.
Post by caldor2004 at aol.com ()
I tried all combinations of the Omniorb libraries (static, dynamic). I
have
Post by caldor2004 at aol.com ()
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
Post by caldor2004 at aol.com ()
get Omniorb linked in as such ??
Thanks
bill
Email and AIM finally together. You've gotta check out free AOL
Mail!_______________________________________________
Post by caldor2004 at aol.com ()
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Luke Deller
2007-09-03 06:49:21 UTC
Permalink
Bill,
Post by caldor2004 at aol.com ()
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.
omniORB is a C++ application which supports the native Windows platform. It sounds like you're trying to use omniORB with managed C++ which is quite a different language than standard C++, and the .NET CLR which is a completely different platform than native Windows. As you noticed, omniORB does not work with that language or platform.

Regards,
Luke.
**********************************************************************************************
Important Note
This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this email are not necessarily the views of IRESS Market Technology Limited.

It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system.
IRESS Market Technology Limited does not warrant that the information is free of a virus or any other defect or error.
**********************************************************************************************
Lars Nilsson
2007-09-03 09:15:13 UTC
Permalink
Post by Luke Deller
Bill,
Post by caldor2004 at aol.com ()
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.
omniORB is a C++ application which supports the native Windows platform. It
sounds like you're trying to use omniORB with managed C++ which is quite a
different language than standard C++, and the .NET CLR which is a completely
different platform than native Windows. As you noticed, omniORB does not work
with that language or platform.
Actually, this was my thought as well. However, I have just created a
very simple Managed C++ / CLR chat client and server, where the client
uses Windows Forms. As long as the CLR setting isn't for pure CLR, it
seems to work well. MC++ is different in this respect, compared with
other .NET languages, I think. Maybe I'm missing something, but I'm
rather surprised I ran into so few problems (I'm not a heavy user of
Managed C++, my preference for .NET is F#).

Lars Nilsson

renny.koshy at rubixinfotech.com ()
2007-09-03 08:31:12 UTC
Permalink
We used omniORB successfully for one of our customers -- however, it took
quite a bit of work to get the COM/.NET side to talk to the omniORB
libraries... then they found a commercial product (reasonably priced) .. I
forget the name, but I can find out if you're interested. There's also
IIOP.NET on sourceforge.... would any of these work for you?

Renny Koshy
President & CEO

--------------------------------------------
RUBIX Information Technologies, Inc.
www.rubixinfotech.com



Luke Deller <***@iress.com.au>
Sent by: omniorb-list-***@omniorb-support.com
09/02/2007 08:49 PM

To
"***@aol.com" <***@aol.com>
cc
"omniorb-***@omniorb-support.com" <omniorb-***@omniorb-support.com>
Subject
RE: [omniORB] Problem linking Omniorb as a Windows Application







Bill,
Post by caldor2004 at aol.com ()
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.
omniORB is a C++ application which supports the native Windows platform.
It sounds like you're trying to use omniORB with managed C++ which is
quite a different language than standard C++, and the .NET CLR which is a
completely different platform than native Windows. As you noticed,
omniORB does not work with that language or platform.

Regards,
Luke.
**********************************************************************************************
Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege. If you are not the
intended recipient you must not use, distribute or copy this email. If
you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this
email are not necessarily the views of IRESS Market Technology Limited.

It is the duty of the recipient to virus scan and otherwise test the
information provided before loading onto any computer system.
IRESS Market Technology Limited does not warrant that the information is
free of a virus or any other defect or error.
**********************************************************************************************

_______________________________________________
omniORB-list mailing list
omniORB-***@omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070902/e5e0ad0f/attachment.htm
Loading...