NO i didn't see earlier but now i see it. but i have to do the conversion of wchar_t* to char* and wchar_t* to LPSTR.