Re: load .NET dll
From: Olaf Baeyens (olaf.baeyens_at_skyscan.be)
Date: 09/23/04
- Next message: Richard Blewett [DevelopMentor]: "Re: Interating over the characters in a string"
- Previous message: Carlo Razzeto: "Interating over the characters in a string"
- In reply to: Jakob Christensen: "Re: load .NET dll"
- Next in thread: Paul: "Re: load .NET dll"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 14:09:40 +0200
> That depends on what you mean by loading a .net assembly.
>
My best guess is that he wants to use the C# dll in a pure unmanaged C++
program without the need for a .NET framework.
So he has 2 options, but both expects the .NET framework to be installed, no
choice around this.
* He must use mixed managed/unmanaged code to let the dll be loaded into the
application using a managed class wrapper.
* "IF" the DLL supports classes that are also compiled with
[assembly:CLSCompliant(true)] and [assembly:ComVisible(true)], THEN he can
use this class as a typical COM object without need to make his program
managed.
In both cases the .NET framework will be loaded.
- Next message: Richard Blewett [DevelopMentor]: "Re: Interating over the characters in a string"
- Previous message: Carlo Razzeto: "Interating over the characters in a string"
- In reply to: Jakob Christensen: "Re: load .NET dll"
- Next in thread: Paul: "Re: load .NET dll"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|