Chad,

>Just out of
>curiosity, is there a setting some where to change this default behavior?

If you set CharSet=CharSet.Unicode in the DllImport attribute on the 
function, the default for all string parameters becomes LPWSTR. And 
CharSet.Auto => LPTSTR.


Mattias

===
Mattias Sjögren
[EMAIL PROTECTED]

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to