我试图以多种方式做到这一点,但没有一个是有效的.有人有一个正确的例子吗?我只想将wchar_t*值从函数移动到C#级别.
wchar_t*
.net c# c++ interop marshalling
.net ×1
c# ×1
c++ ×1
interop ×1
marshalling ×1