Visual C++ 2008引入了调度库(marshaling library),调度库提供了一种简单及优化的方法在本机与托管环境之间调度数据,可用于代替复杂且低率的PInvoke方法,且语法非常之简单:
基于4个网页-相关网页
You do so to preserve the integrity of the standard marshaling library files.
这种做法是为了要保存标准封送处理程序库档案的完整性。
Users can extend the marshaling library for any data conversions not currently supported by the library.
使用者可以针对程序库目前不支援的任何资料转换,扩充封送处理程序库。
This topic explains how to extend the marshaling library to provide more conversions between data types.
本主题说明如何扩展封送处理库,从而在数据类型之间提供更多转换。
应用推荐