Click to See Complete Forum and Search --> : Wrapping C++ to make it .NET callable
palacechan
July 19th, 2010, 10:58 PM
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
Alex F
July 19th, 2010, 11:59 PM
This is good C++/CLI introduction with wrapping native class sample:
http://www.codeproject.com/KB/mcpp/quickcppcli.aspx
cilu
July 26th, 2010, 07:50 AM
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
mani3355
August 12th, 2010, 02:03 AM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.