Try CharSet = CharSet.Ansi in DllImport directive.
Read also this article:
http://msdn.microsoft.com/library/de...rp09192002.asp
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: marshal char[]Threaded View
|
Click Here to Expand Forum to Full Width |