Document directory
- 2.1 InterOP
- 2.2 p/invoke
- 2.3 C ++ InterOP
- 2.4 com InterOP
- 2.5 mail handling
2.1 InterOP
(1) Interop123Website
L URL
Http://www.interop123.com
Http://www.interop123.net
Http://www.interop123.cn
L description
The technical support website of this book also provides a communication platform for best practices of interoperability.
(2) DotnetinteropWebsite
L URL
Http://www.dotnetinterop.com/
L description
A website listing a large number of Interoperability Technical Resources
(3) An overview of managed/unmanaged code interoperability
L URL
Http://msdn.microsoft.com/en-us/library/ms973872.aspx
L description
This article introduces some basic knowledge about interactive operations between managed code and unmanaged code.
(4) Interoperating with unmanaged code
L URL
Http://msdn.microsoft.com/en-us/library/sd10k43k.aspx
L description
It includes a series of topic articles and introduces some knowledge about interoperability between hosted code and unmanaged code.
2.2 p/invoke
(1) Pinvoke.netWebsite
L URL
Http://www.pinvoke.net/
L description
This website has a large number of hosted declarations required to P/invoke Win32 APIs, allowing developers to learn or quickly find the corresponding. Net declarations of some Win32 functions.
(2) Platform invoke tutorial
L URL
Http://msdn.microsoft.com/en-us/library/aa288468.aspx
L description
This article describes how to use P/invoke technology to call functions in unmanaged DLL in C # And how to mail some common data types.
(3) Microsoft Win32 to Microsoft. NET Framework API Map
L URL
Http://msdn2.microsoft.com/en-us/library/aa302340.aspx
L description
This document lists methods that have been implemented in. NET Framework and have the same functions as Win32 API functions. To avoid unnecessary P/invoke for some Win32 functions, you can also use the corresponding hosting provided by. Net to write safer and more efficient code.
(4) Windows API reference
L URL
The http://msdn2.microsoft.com/en-us/library/aa383749 (vs.85). aspx
L description
The most authoritative guide for Windows APIs.
(5) CLR inside out: financialing between managed and unmanaged code
L URL
Http://msdn2.microsoft.com/en-us/magazine/cc164193.aspx
L description
Explains some of the basic concepts that P/invoke can easily confuse, as well as methods and techniques that simplify data delivery between hosted and unmanaged code. It also contains a small tool that can automatically generate corresponding hosted declarations for Win32 functions.
(6) Calling Win32 DLLs in C # With P/invoke
L URL
Http://msdn.microsoft.com/zh-cn/magazine/cc164123 (En-US). aspx
L description
This section describes how to use P/invoke technology to call Win32 API functions.
(7). Net interoperability:. Net? Win32
L URL
Http://www.blong.com/Conferences/BorConUK2002/Interop1/Win32AndDotNetInterop.htm
L description
This article focuses on how to call functions exported from unmanaged DLL in managed code.
(8) Call local functions from managed code
L URL
Http://msdn.microsoft.com/zh-cn/library/ms235282.aspx
L description
This section describes how to use explicit P/invoke (dllimport attribute) in C ++ and use C ++ InterOP (implicit pinvoke) to call local functions from managed code.
2.3 C ++ InterOP
(1) Use C ++ InterOP
L URL
Http://msdn.microsoft.com/zh-cn/library/2x8kf7zx (vs.80). aspx
L description
This topic describes how to use the C ++ InterOP technology to implement interaction between hosted code and unmanaged code.
(2) InterOPPerformance considerations (C ++)
L URL
Http://msdn.microsoft.com/zh-cn/library/ky8kkddw.aspx
L description
This topic describes several performance-related guidelines and suggestions for using the C ++ InterOP technology to interwork between hosted code and unmanaged code.
2.4 com InterOP
(1) CLRFull introduction: COM InterOPIntroduction
L URL
Http://msdn.microsoft.com/zh-cn/magazine/cc163494.aspx
L description
This topic introduces the basic concepts related to com InterOP and provides examples for Quick Start of COM InterOP technology.
(2) Understanding classic com interoperability with. Net Applications
L URL
Http://www.codeproject.com/KB/COM/cominterop.aspx
L description
This topic details how to use COM components in managed code with the help of COM InterOP technology and how to use. Net assembly in COM clients.
(3) Com InterOP tutorials
L URL
Http://msdn.microsoft.com/en-us/library/aa645712 (vs.71). aspx
L description
This topic contains two brief guides for interaction between hosted code and COM components.
(4). Net interoperability: COM InterOP
L URL
Http://www.blong.com/Conferences/BorConUK2002/Interop2/COMNetInterop.htm
L description
This article describes how to use an unmanaged COM Object in managed code and how to use a hosted. Net object in a COM Client.
(5) Improving InterOP Performance
L URL
Http://msdn.microsoft.com/en-us/library/ms998551.aspx
L description
This article introduces some suggestions on performance improvement when designing and creating a. NET component for interoperation with COM components.
2.5 mail handling
(1) InterOP implements aling
L URL
Http://msdn.microsoft.com/en-us/library/04fy9ya1.aspx
L description
This topic describes how to mail data when P/invoke and COM InterOP are used.
(2) Default behavior aling Behavior
L URL
Http://msdn.microsoft.com/en-us/library/zah6xy75.aspx
L description
This topic describes how to identify the default sending and processing behavior of the interoperability mail processing service. It also gives a detailed introduction to the array, Boolean, character, String, class, struct, object, and delegate sending and receiving actions.
(3) Copying and pinning
L URL
Http://msdn.microsoft.com/en-us/library/23acw07k (vs.71). aspx
L description
This topic describes how to copy and lock data when sending data.
(4) Overview of stored aling in C ++
L URL
Http://msdn.microsoft.com/zh-cn/library/bb384865.aspx
L description
This topic describes how to mail data between the local type and the managed type in hybrid mode.
(5) Blittable and non-blittable types
L URL
Http://msdn.microsoft.com/zh-cn/library/aa719638 (En-US). aspx
L description
This topic describes the types that can be directly copied to the local structure and those that are not directly copied to the local structure.
(6) Windows Data Types
L URL
The http://msdn.microsoft.com/en-us/library/aa383751 (vs.85). aspx
L description
This topic describes common data types in Windows programming.