PLS HELP : CreateInstance (__uuidof(SHDocVw::ShellWindows) failed
ATL / WTL / STL
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, This following code in a console application: CoInitialize(0); HRESULT hr; SHDocVw::IShellWindowsPtr spSHWinds; hr = spSHWinds.CreateInstance (__uuidof(SHDocVw::ShellWindows)); ====> Returns 0x0x80040154 - Class not registered. Can someone please help me why I am getting this error? Any help would be greatly appreciated. SenPy
-
Hi, This following code in a console application: CoInitialize(0); HRESULT hr; SHDocVw::IShellWindowsPtr spSHWinds; hr = spSHWinds.CreateInstance (__uuidof(SHDocVw::ShellWindows)); ====> Returns 0x0x80040154 - Class not registered. Can someone please help me why I am getting this error? Any help would be greatly appreciated. SenPy