首页>
外国专利>
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.
展开▼