string convertion
-
hai.., i am trying to create an MSMQ. in this i am having char* string value....now i want to convert it to LPWSTR string ...how to convert this... is any one knows reply me....
Born to win...!
-
hai.., i am trying to create an MSMQ. in this i am having char* string value....now i want to convert it to LPWSTR string ...how to convert this... is any one knows reply me....
Born to win...!
See
MultiByteToWideChar
. -
hai.., i am trying to create an MSMQ. in this i am having char* string value....now i want to convert it to LPWSTR string ...how to convert this... is any one knows reply me....
Born to win...!
Try
::mbtowcs
And be sure to read the texts about conversion linked in that MSDN-Article.
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words -
Try
::mbtowcs
And be sure to read the texts about conversion linked in that MSDN-Article.
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening wordsthanks for ur help dears, i solved the issue..
Born to win...!
-
hai.., i am trying to create an MSMQ. in this i am having char* string value....now i want to convert it to LPWSTR string ...how to convert this... is any one knows reply me....
Born to win...!
Have you considered the
A2W()
macro?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Try
::mbtowcs
And be sure to read the texts about conversion linked in that MSDN-Article.
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening wordsjhwurmbach wrote:
Try ::mbtowcs
little correction brother:- it is
mb**s**towcs
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You