STL & C++ CLI

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frank Kuhn

    #1

    STL & C++ CLI

    Hi,

    i need the fast power of STL and the connection to .NET and C#. I want to
    use my C++ library in a C# Application. Does someone has the same problem?
    And or has solved this Problem ?

    If i use a non managed code i get an error, that i cand used a mixed type.

    Thankx, Frank


  • Ben Voigt

    #2
    Re: STL & C++ CLI


    "Frank Kuhn" <frank_kuhn@fre enet.dewrote in message
    news:erdfi0$bs8 $00$1@news.t-online.com...
    Hi,
    >
    i need the fast power of STL and the connection to .NET and C#. I want to
    use my C++ library in a C# Application. Does someone has the same problem?
    And or has solved this Problem ?
    >
    If i use a non managed code i get an error, that i cand used a mixed type.
    You are probably trying to put a tracking handle (^, for example String^)
    inside a native type, but tracking handles have to be where the garbage
    collector can see them. Use gcroot to do that.
    >
    Thankx, Frank
    >

    Comment

    Working...