a question about C++.net class library# DotNet - 窗口里的风景
w*w
1 楼
in .NET, i defined a function in C++ class library for file open
int open(char* filename) {blah...}
Now i want to use it in C#, add reference from this DLL. C# asks:
open(sbyte*)
how to use this function in C#, where to convert a string to sbyte* ?
thanks.
int open(char* filename) {blah...}
Now i want to use it in C#, add reference from this DLL. C# asks:
open(sbyte*)
how to use this function in C#, where to convert a string to sbyte* ?
thanks.