How do I marshal a C# string to call a C++ function that needs a L

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UHVjY2E=?=

    How do I marshal a C# string to call a C++ function that needs a L

    Hi, I need to call a funciton in a C++ Dll that requires 2 LPCWSTR
    parameters. How do I marshall this in my DLLIMPORT statement in C# (string
    trpe)? Thank you.?

    --
    Thanks.
Working...