Article:
 |
|
WinFX: An All-Managed API
|
| Subject: |
|
What Managed Means... |
| Date: |
|
2003-11-26 08:45:34 |
| From: |
|
swildermuth
|
|
|
|
Managed is a term that specifically means that the memory of the code is managed by some runtime environment. In the case of .NET code (and WinFX specifically), the garbage collector managed the memory.
In Win32, the API is unmanaged and exposed to .NET clients through interop. To .NET clients, it is still unmanaged memory and has the same constraints as any system that has unmanaged memory (possibly of memory leaks, no code-access security, etc.) By the WinFX being all managed, the .NET folks get to use the API in a more native way, but those same API's will be exposed to Win32 folks throuth interop the other way around. The code will continue to be managed, but the calling code may not be managed (in the case of calling it from a traditional MFC app for example).
HTH
Shawn Wildermuth
Editor of ONDotnet.com
|
Showing messages 1 through 4 of 4.
-
What Managed Means...
2003-12-09 09:21:16
anonymous2
[View]
-
What Managed Means...
2003-12-09 15:22:15
Ian Griffiths |
[View]
-
What Managed Means...
2003-12-13 00:17:32
anonymous2
[View]
-
What Managed Means...
2004-01-14 09:45:33
anonymous2
[View]
<quote>
those same API's will be exposed to Win32 folks throuth interop the other way around.
</quote>
will this be via CCWs? (COM Callable Wrappers) Or is there another mechanism?
Tnx,
Jason Langston