Re: Managed/Unmanaged code
- From: Lasse Vågsæther Karlsen <lasse@xxxxxxxxxxx>
- Date: Fri, 30 May 2008 13:33:07 +0200
AA2e72E wrote:
I am trying to understand this; I have a question.
I understand these statements are true:
1. Managed code is code that is executed by the CLR.
2. Managed code can access managed and unmanaged data.
How would I describe a C# Interrop DLL? As managed code? (It will be used by
an un-managed code (non .NET) client).
How will the DLL be used by unmanaged code? I ask because there are
inherent problems in making DLL's that will be consumed by unmanaged
applications.
In any case, an assembly (dll or exe) that is built using a managed
compiler (C++.NET, VB.NET, C#) is a managed dll containing managed code.
--
Lasse Vågsæther Karlsen
mailto:lasse@xxxxxxxxxxx
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3
.
Relevant Pages
- Re: Integrating with legacy code
... Removed nochkclr.obj as a linker input ... Extention DLL. ... access them from within the web service, ... >order to add managed code to it: ... (microsoft.public.dotnet.general) - Re: Strange file not found exception
... Assemblies *must* reside in same directory. ... DLL on Windows Server 2003 x64 using PIA interop. ... I find creating a COM coclass object in managed code is ok, ... (microsoft.public.vc.language) - Dependency walker msvcr80d.dll missing coredll.dll and dwmapi.dll
... I've completed migrating one of our company's C++ Managed Code ... The dll is written in MFC with sections of C++ ... The dll exports its objects in the same manner as any VS2005 Solution Wizard ... In fact when I peer into the dll with the DepedencyWalker app, ... (microsoft.public.dotnet.languages.vc) - Re: Error using P/Invoke with Winsock API using CF.NET
... You aren't going to be able to pass a callback function from managed code, ... It might be significantly easier to create a native DLL ... setting up the socket in secure mode, ... >>> public static extern int ioctlsocket(int s, uint controlCode, object ... (microsoft.public.dotnet.framework.compactframework) - Re: create a wrapped managed dll that can be used from pure unmanaged code
... > code which calls into managed code" and some of those unmanaged ... Exporting a class based interface from a DLL ... public void SayHello() ... GCHandle gch; ... (microsoft.public.dotnet.languages.vc) |
|