I have a class implemented in C ++ that is responsible for arithmetic computing a program and an interface using WPF. I handle input using C #, but then how can I use my C ++ class?
I saw a few comments on how to create a C ++ wrapper managed class to interact with it, but I don't know where to start. I also don’t know how I am going to compile it with all the other code. I can't find a tutorial on this, and google testimonials in managed C ++ don't really seem useful.
Anything out there to help me? This does not seem unreasonable to me.
EDIT The m3rLinEz solution was fixed, but it gave me a BadImageFormatException exception, I think this is because the DLL is not being generated. I did everything I said, I don’t know what happened. Any ideas?
c ++ c # pinvoke c ++ - cli managed-c ++
master chief Feb 06 '10 at 3:15 2010-02-06 03:15
source share