#include <shobjidl.h> ... CComPtr<IFileDialog2> FileDialog2Ptr; HRESULT hr = FileDialog2Ptr.CoCreateInstance(__uuidof(IFileDialog2));
hr
0x80040154 Class not registered
IFileDialog2
HRESULT hr = FileDialog2Ptr.CoCreateInstance(__uuidof(IFileDialog2));
CLSID_FileOpenDialog
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)