-
unicode strings
Hello to all developer,
I'm new in visual c++ programming and sorry for my english, it's not my first language.
I have to call an external Delphi DLL inside a Visual c++ application.
The DLL has one parameter of type PWideString. This is a pointer to a Unicode string.
My question is: witch corresponding type can I use in Visual c++ ?
Thanks in advance
Roverix
-
Re: unicode strings
LPWSTR or, if the string is constant, LPCWSTR. If your VC++ project is a Unicode project, LPTSTR and LPCTSTR are identical to those.
HTH
Ah, and... Welcome to CodeGuru! :)
-
Re: unicode strings
Hello Eri523, thanks for you answer.
I will try it in the next days. I hope to get the result I need,
otherwise I will ask here again. :)
Roverix