Hello :)
I'm not new to C++, I just don't use it as much as I used to.
But anyway, I need to convert LPSTR to LPCWSTR.
Here's the function i'm using it in:
This gives an error.
Help is appreciated.
Thanks.
I'm not new to C++, I just don't use it as much as I used to.
But anyway, I need to convert LPSTR to LPCWSTR.
Here's the function i'm using it in:
Code:
MYCOMMAND void PrintText( LPSTR pString )
{
if(pString)
{
MessageBox(NULL, pString, "", MB_OK);
}
}
Help is appreciated.
Thanks.
Comment