RE: Transfer protected media file license to device
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Hi
I think we just need to wrap the C++ DLL as a COM Component and expose the
necessary interface you wants.
Then we can add a COM reference to the COM DLL in C#/VB.NET and use it as
just a common .NET classlibrary.
COM Interoperability in Visual Basic and Visual C#
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vbconcominteropinvisualbasicvisualc.asp
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
.
Relevant Pages
- Re: how to create a VB/C# CF helper dll
... it's just not possible to call into managed code from unmanaged code. ... > looking into the CF using VB/C# recently in order to create some a DLL ... > expose the methods other than making their definitions Public. ... Public Structure SYSTEM_POWER_STATUS ... (microsoft.public.dotnet.framework.compactframework) - Re: Use existing C code in C# application
... way is to create a .NET Class Library using Managed C++ and wrap calls to ... "Win32 Project" and select DLL as the type of project. ... create a header file and wrap the exported function declarations as so: ... DllImport in your C# applications in order to call your exported function ... (microsoft.public.dotnet.languages.csharp) - calling java from DOTNET 2? how stable or painfull?
... (sorry but i posted this in a dotnet newsgroup as well becoue i ... so i need to write an RMI CLIENT to this thing, and expose it microsoft ... at first we thought to have it exposed as web service and consume this ... service via dotnet dll. ... (comp.lang.java.programmer) - calling java from DOTNET 2? how stable painfull?
... so i need to write an RMI CLIENT to this thing, and expose it microsoft ... at first we thought to have it exposed as web service and consume this ... service via dotnet dll. ... developers which canno parse XML. ... (microsoft.public.dotnet.framework) - Re: C++ wrap to C# efficiency
... you are not going through the P/Invoke layer, you will be making the call ... are passing simple structure types, or even primitive types, then I would ... Wrap the static library as dynamic library (dll), ... (microsoft.public.dotnet.languages.csharp) |
|