Convert PWSTR to LPCWSTR (MessageBox-Output of a PWSTR variable)

  • Thread starter Thread starter bn-dev
  • Start date Start date
B

bn-dev

Guest
Hello,

I need to convert a PWSTR variable to LPCWSTR in order to create an outout via MessageBox.

The variable is declared like this:

PWSTR* ppwsz

and I want to use it as an argument of MessageBox(..)

How can I do this?

Thanks!

Continue reading...
 
Back
Top