Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.013 Beiträge
 
#1

P/Invoke: usually you need CharSet.Auto (via: .NET Column: Calling Win32 DLLs in C# w

  Alt 28. Feb 2012, 05:11
I don’t do P/Invoke often, and somehow I have trouble remembering the value of CharSet to pass with DllImport. In short,*pass CharSet.Auto unless you P/Invoke a function that is specific to CharSet.Ansi or CharSet.Unicode. The default is CharSet.Ansi, which you*usually*don’t want: when ...

More...
  Mit Zitat antworten Zitat