将C ++指针转换为.NET指针 [英] Cast C++ pointer into .NET pointer

查看:97
本文介绍了将C ++指针转换为.NET指针的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个函数的原型需要一个.NET指针(^),并且由于我正在使用的对象是C ++指针(*),
我需要将其转换为.NET.有什么办法吗?

干杯

Hi,

I have a function whose prototype is expecting a .NET pointer (^), and since the object I''m playing with is a C++ pointer (*),
I need to cast it into .NET. Is there any way to do that?

Cheers

推荐答案

^ ]是一个讨论-您需要谷歌搜索的关键字是marshall.
Here[^] is one discussion - the keyword you need to be googling is marshall.


这篇关于将C ++指针转换为.NET指针的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆