Wrapping C++ to make it .NET callable
I know very little about .NET but know my way around C++. I have a C++ interface which I have been asked to wrap to make it .NET callable. I did some research and came across terms like platform invoke, c++/cli, and C++ Invoke...I'm rather confused as I would imagine with the code already there, wrapping should just be a technicality. I would appreciate any simple pointers to how would be a straightforward simple way of going about it, and any resources which could help me do so. I've found only a couple examples online including on this website but it's a bit cryptic to me and I'm wondering if i could be pointed to some more basic tutorial like resources if available.
Thank you
Re: Wrapping C++ to make it .NET callable
This is good C++/CLI introduction with wrapping native class sample:
http://www.codeproject.com/KB/mcpp/quickcppcli.aspx
Re: Wrapping C++ to make it .NET callable
You have to build a mixed-mode DLL in C++/CLI to wrap the types and functions from C++ that you want to make accessible from C#.
http://www.codeproject.com/KB/mcpp/usingcppdll.aspx
Re: Wrapping C++ to make it .NET callable
hi,
I've found only a couple examples online including on this website but it's a bit cryptic to me and I'm wondering if i could be pointed to some more basic tutorial like resources if available
regards,
phe9oxis,
http://www.guidebuddha.com