|
-
January 20th, 2011, 03:19 PM
#1
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
-
January 20th, 2011, 03:37 PM
#2
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!
Last edited by Eri523; January 21st, 2011 at 06:47 AM.
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
-
January 21st, 2011, 05:09 AM
#3
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|