<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 23.4.2010 1:31, <a class="moz-txt-link-abbreviated" href="mailto:jklein@rockwellcollins.com">jklein@rockwellcollins.com</a> wrote:
<blockquote
 cite="mid:OF047775BD.3B6435EC-ON8625770D.0078F9CB-8625770D.007BCD11@rockwellcollins.com"
 type="cite"><font size="2"><tt>I'm trying to build an application that
is a mix between
managed and unmanaged C++ with Visual Studio 2005 and omniOrb 4.1.4.
This
has been a trying task to say the least. Of course, all the CORBA stuff
is done within non-managed code.</tt></font>
  <br>
  <br>
  <font size="2"><tt></tt></font><font size="2"><tt>I thought about
static linking, but that is not an
option with the /clr option.</tt></font>
  <br>
  <br>
</blockquote>
<br>
We have been doing something similar, but with static linking. It's
been a while, but I believe you only need to modify the omniORB
Makefiles to use the /MD runtime for building static libraries. Then
the linking inside a mixed mode C++/CLI assembly works just fine.<br>
<br>
I also vaguely recall a related, rather obscure crash/error in WinForms
GUI apps, which happened only with VS2005 build... VS2008 fixed it, but
there was a workaround for VS2005 as well. Post more details if you
keep encountering it and I can try to check if its the same issue...<br>
<br>
Best regards,<br>
Sampo<br>
<br>
</body>
</html>