-
July 19th, 2010, 10:58 PM
#1
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
-
July 19th, 2010, 11:59 PM
#2
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
-
July 26th, 2010, 07:50 AM
#3
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
-
August 12th, 2010, 02:03 AM
#4
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|