Connecting Tech Pros Worldwide Help | Site Map

C++/CLI and unmanaged code

  #1  
Old September 3rd, 2008, 01:15 AM
r.x.k.miller@googlemail.com
Guest
 
Posts: n/a
I am looking to interface some C++/CLI code to a big old C/C++
library. The library really is legacy stuff (goto's and setjump/
longjumps abound).

Can anyone point me to some up to date information about interop
between these two domains, relevant to .NET 3.5? Any general advice?

I understand standard C++, and I have used C#.NET to a lesser extent,
but most of the articles I have found about linking the two are out of
date.
  #2  
Old September 3rd, 2008, 05:25 PM
Mark Salsbery [MVP]
Guest
 
Posts: n/a

re: C++/CLI and unmanaged code


<r.x.k.miller@googlemail.comwrote in message
news:c5e7fb52-307f-4de7-a84b-029e18121a98@k37g2000hsf.googlegroups.com...
Quote:
I am looking to interface some C++/CLI code to a big old C/C++
library. The library really is legacy stuff (goto's and setjump/
longjumps abound).
>
Can anyone point me to some up to date information about interop
between these two domains, relevant to .NET 3.5? Any general advice?
>
I understand standard C++, and I have used C#.NET to a lesser extent,
but most of the articles I have found about linking the two are out of
date.

With a mixed-mode C++/CLI assembly, you should be able to use the library as
usual.

What am I missing here? :)

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing jagged array byte[][] to unmanaged code =?Utf-8?B?U2hhcm9u?= answers 17 June 18th, 2007 08:35 PM
C++/CLI, Unmanaged to Managed callback without using a bridge, or pinning pointers. DaTurk answers 12 February 14th, 2007 03:35 PM
Passing managed object reference to unmanaged code Notre Poubelle answers 8 September 27th, 2006 09:55 PM
create a wrapped managed dll that can be used from pure unmanagedcode bonk answers 13 November 17th, 2005 05:46 PM
Only one type of Unmanaged code? Sparhawk answers 1 November 17th, 2005 03:45 PM