I'm getting lost in all the MS specific type definitions.
I know that LPCWSTR = WCHAR const * and LPWSTR = WCHAR* but how would you go about converting LPCWSTR to a LPWSTR?
I don't understand what how to convert these types. I'm only understanding normal C++ type conversions, like int to double, or int to int*, etc.
Could someone shed some light on the subject for me? I've been googling this for some time, with no success.
I know that LPCWSTR = WCHAR const * and LPWSTR = WCHAR* but how would you go about converting LPCWSTR to a LPWSTR?
I don't understand what how to convert these types. I'm only understanding normal C++ type conversions, like int to double, or int to int*, etc.
Could someone shed some light on the subject for me? I've been googling this for some time, with no success.