首页> 外国专利> Native method invocation (NMI) custom marshalling stub service

Native method invocation (NMI) custom marshalling stub service

机译:本机方法调用(NMI)自定义编组存根服务

摘要

A method for performing code translation generates native marshaling stubs without performing ML code generation and processing. This is accomplished by calling an unmanaged function to perform a task in a managed runtime environment, accessing a pre-created native stub for the unmanaged function, and then marshaling data for the unmanaged function based on the native stub. The native stubs are created based on known parameters and return values of an associated native method signature. The stubs are then stored in a repository for retrieval when the unmanaged function is called.
机译:一种用于执行代码转换的方法,可以在不执行ML代码生成和处理的情况下生成本机封送处理存根。这是通过调用非托管函数在托管运行时环境中执行任务,访问非托管函数的预先创建的本机存根,然后基于本机存根编组非托管函数的数据来实现的。基于已知参数和关联的本机方法签名的返回值创建本机存根。然后,将存根存储在存储库中,以便在调用非托管函数时进行检索。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号