Call native functions by using platform invoke.
使用平台调用调用本地方法?
For the corresponding platform invoke sample, see Arrays.
有关相应的平台调用示例,请参见数组。
Describes marshaling for COM interop and platform invoke.
描述如何对COM互操作和平台调用进行封送处理。
Platform invoke handles the underlying exported function automatically.
平台调用将自动处理底层的导出函数。
Can be used as an argument to a native method reached through platform invoke.
可以用作通过平台调用所影响的本机方法的参数。
Managed wrappers are easy to write using either platform invoke or COM interop.
使用平台调用或COM 互操作,可以很方便地编写托管包装。
The field is also frequently used during platform invoke and interop operations.
在平台调用和互操作的操作过程中也经常使用该字段。
The following table lists the complete set of attribute fields that pertain to platform invoke.
下表所列为平台叫用相关的完整属性栏位集。
NET-based declarations to be used with platform invoke, see Marshaling Data with platform invoke.
NET架构的宣告,以便与平台叫用一起使用的范例,请参阅使用平台叫用封装处理资料。
Platform invoke cannot be used to return structures or classes by value if they contain a constructor.
平台叫用无法用于依照值传回包含建构函式的结构或类别。
For detailed information about preventing garbage collection, see Interop Marshaling with Platform Invoke.
有关防止垃圾回收的详细信息,请参见用平台调用进行互操作封送处理。
When designing a managed class for platform invoke, consider the relationships between classes and DLL functions.
为平台调用设计托管类时,应考虑类和dll函数之间的关系。
As a result, transitions are very fast, but an incorrect platform invoke declaration can cause a program failure.
因此,转换都非常快速,但不正确的平台叫用宣告可能会造成程序失败。
Platform invoke operates according to the default values set on various fields that exist as metadata in an assembly.
平台调用将按照在程序集中作为元数据存在的各个字段上设置的默认值来执行操作。
The managed signature of the platform invoke call might not match the unmanaged signature of the method being called.
检查托管平台调用签名和调用约定,以确认其与本机目标的签名和调用约定相匹配。
Use this name to search your code for platform invoke or COM signatures that pass that delegate out to unmanaged code.
请使用此名称在您的代码中搜索将该委托外传给非托管代码的平台调用或COM签名。
Some of the many DLL functions called with platform invoke require a callback function in managed code to run properly.
在用平台调用调用的多种dll函数中,有些函数要求正确地运行托管代码中的回调函数。
Furthermore, you can adjust the way that platform invoke creates the function and marshals data to and from the function.
此外,您也可以调整平台叫用建立函式和在函式之间封送处理资料的方式。
This element enables you to trade faster interop marshaling for run-time resilience against incorrect platform invoke declarations.
此元素使您用更快的互操作封送处理来交换运行时对不正确的平台调用声明的弹性。
With the next version of the BCL,.net developers will be able to use memory-mapped files directly instead of via platform invoke calls.
在BCL的下一个版本中,. NET开发人员将能够直接使用内存映射文件,而无需通过平台调用的方式。
SQL/MR is a special SQL MapReduce function library introduced by Aster that can be used to invoke map-reduce algorithms within the nCluster platform.
SQL/MR是由Aster引入的一个特殊的SQLMapReduce函数库,可在nCluster平台中用来调用map-reduce算法。
Agents on the control platform can relay messages to the wrapper agent and have them invoke action on the underlying proprietary hardware or software system.
控制平台上的代理可以传送包装的信息,并让他们代理调用底层专有的硬件或软件来控制系统的行为。
Agents on the control platform can relay messages to the wrapper agent and have them invoke action on the underlying proprietary hardware or software system.
控制平台上的代理可以传送包装的信息,并让他们代理调用底层专有的硬件或软件来控制系统的行为。
应用推荐