I'm trying to set the default folder of a IFileDialog instance and I'm having trouble getting the char array containing the pathway, into the IShellItem to set it.
This is an example of how to use MultiByteToWideChar. Replace CP_UTF8 with CP_ACP or whatever encoding your char* buffer have (btw, why don't you use wchar_t directly ?)