C++/CLI and unmanaged code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • r.x.k.miller@googlemail.com

    C++/CLI and unmanaged code

    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.
  • Mark Salsbery [MVP]

    #2
    Re: C++/CLI and unmanaged code

    <r.x.k.miller@g ooglemail.comwr ote in message
    news:c5e7fb52-307f-4de7-a84b-029e18121a98@k3 7g2000hsf.googl egroups.com...
    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++

    Comment

    Working...