Re: Is it possible to call C# code from C++ ?
From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 09/10/04
- Next message: Joerg Jooss: "Re: Extracting String Info from WebRequest Cookie"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: Is it possible to call C# code from C++ ?"
- In reply to: Ricky: "Re: Is it possible to call C# code from C++ ?"
- Next in thread: Ricky: "Re: Is it possible to call C# code from C++ ?"
- Reply: Ricky: "Re: Is it possible to call C# code from C++ ?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Sep 2004 09:35:54 -0400
Oops, it would help if I gave the title and the link:
Qualifying .NET Types for Interoperation
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
"Ricky" <spam@spam.com> wrote in message
news:eWLJ7pzlEHA.3712@TK2MSFTNGP15.phx.gbl...
> Hi
>
> Sorry, I mean call C# from C++, not C++ from C#.
>
>
> Ricky
>
> Nicholas Paldino [.NET/C# MVP] wrote:
>> Ricky,
>>
>> If you want to call a COM component from .NET, you just have to add a
>> reference to it in your VS.NET project (go to "Add References").
>>
>> If you were working from the command line, you would run the TLBIMP
>> utility to generate a Runtime Callable Wrapper, and then set a reference
>> to that.
>>
>> You can also call C++ code through the P/Invoke layer, if the C++
>> code exposes functions through a DLL.
>>
>> Or, finally, you can wrap the C++ code in a managed wrapper (using
>> Managed Extensions for C++) and then call it like a normal assembly.
>>
>> Hope this helps.
>>
- Next message: Joerg Jooss: "Re: Extracting String Info from WebRequest Cookie"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: Is it possible to call C# code from C++ ?"
- In reply to: Ricky: "Re: Is it possible to call C# code from C++ ?"
- Next in thread: Ricky: "Re: Is it possible to call C# code from C++ ?"
- Reply: Ricky: "Re: Is it possible to call C# code from C++ ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|