CFileDialog's DoModal fills debug window
up vote
0
down vote
favorite
CStringW strFilter;
strFilter.LoadStringW(IDS_IMGFILEFILTER);
//Image Files (*.bmp;*.gif;*.jpg;*.png;*.tif)*.bmp;*.gif;*.jpg;*.png;*.tif|All Files (*.*)|*.*||
CFileDialog dlgFile(TRUE, NULL, NULL, OFN_ALLOWMULTISELECT |
OFN_DONTADDTORECENT | OFN_FILEMUSTEXIST, strFilter, AfxGetMainWnd());
if (dlgFile.DoModal() != IDOK) return;
Using Windows 10, 64bit
Errors appear immediately after DoModal called, before any interaction with dialog.
Output window:
mincorecomoleaut32dispatchups.cpp(2125)OLEAUT32.dll!00007FF9F66E2CA6: (caller: 00007FF9F66E2DCA) ReturnHr(1) tid(2cac) 8002801D Library not registered.
The thread 0x27b4 has exited with code 0 (0x0).
Exception thrown at 0x00007FF9F503A388 (KernelBase.dll) in ProgramName.exe: 0x000006BA: The RPC server is unavailable.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(1) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(2) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(3) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(4) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(5) tid(2cac) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(6) tid(2cac) 80070490 Element not found.
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(1) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(1) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(2) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(2) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(3) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(3) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(4) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(4) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(5) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(5) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(6) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(6) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(7) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(7) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
But, don't see any problems with program execuation.
Also tried bVistaStyle = FALSE and copied the file name buffer code as shown here
https://docs.microsoft.com/en-us/cpp/mfc/reference/cfiledialog-class?view=vs-2017
Still a page full of error messages.
File sharing has been intentionally disabled. Possible reason for "The RPC server is unavailable"?
Have seen the "OLEAUT32.dll Library not registered" message before in the default
frame work VS created for a win32 desktop application but, message there went away several
updates ago. Never caused any problems.
Know nothing about "windows.storage" but seems to provide access to known folders
like "Desktop", "Documents" and others. No problems accessing these folders.
My biggest concern is that those Chinese (or whatever foreign language that is)
processes definitely look like there is some kind of corruption.
Creating my own file name buffer seems unecessary as it works perfectly without it
and "GetStartPosition" and "GetNextPathName" are bypassed in microsoft's example.
Has this been updated?
c++ winapi mfc
add a comment |
up vote
0
down vote
favorite
CStringW strFilter;
strFilter.LoadStringW(IDS_IMGFILEFILTER);
//Image Files (*.bmp;*.gif;*.jpg;*.png;*.tif)*.bmp;*.gif;*.jpg;*.png;*.tif|All Files (*.*)|*.*||
CFileDialog dlgFile(TRUE, NULL, NULL, OFN_ALLOWMULTISELECT |
OFN_DONTADDTORECENT | OFN_FILEMUSTEXIST, strFilter, AfxGetMainWnd());
if (dlgFile.DoModal() != IDOK) return;
Using Windows 10, 64bit
Errors appear immediately after DoModal called, before any interaction with dialog.
Output window:
mincorecomoleaut32dispatchups.cpp(2125)OLEAUT32.dll!00007FF9F66E2CA6: (caller: 00007FF9F66E2DCA) ReturnHr(1) tid(2cac) 8002801D Library not registered.
The thread 0x27b4 has exited with code 0 (0x0).
Exception thrown at 0x00007FF9F503A388 (KernelBase.dll) in ProgramName.exe: 0x000006BA: The RPC server is unavailable.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(1) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(2) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(3) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(4) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(5) tid(2cac) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(6) tid(2cac) 80070490 Element not found.
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(1) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(1) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(2) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(2) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(3) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(3) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(4) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(4) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(5) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(5) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(6) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(6) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(7) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(7) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
But, don't see any problems with program execuation.
Also tried bVistaStyle = FALSE and copied the file name buffer code as shown here
https://docs.microsoft.com/en-us/cpp/mfc/reference/cfiledialog-class?view=vs-2017
Still a page full of error messages.
File sharing has been intentionally disabled. Possible reason for "The RPC server is unavailable"?
Have seen the "OLEAUT32.dll Library not registered" message before in the default
frame work VS created for a win32 desktop application but, message there went away several
updates ago. Never caused any problems.
Know nothing about "windows.storage" but seems to provide access to known folders
like "Desktop", "Documents" and others. No problems accessing these folders.
My biggest concern is that those Chinese (or whatever foreign language that is)
processes definitely look like there is some kind of corruption.
Creating my own file name buffer seems unecessary as it works perfectly without it
and "GetStartPosition" and "GetNextPathName" are bypassed in microsoft's example.
Has this been updated?
c++ winapi mfc
2
this is internal win 10 output. unrelated to your code. simply ignore this
– RbMm
Nov 11 at 23:04
I don't seeMsg:[Creating icon overlay handler from 敒楧瑳祲 ...
in my VS2017/Win10 environment. Maybe that's another process which is printing debug messages incorrectly. It shouldn't be a concern.
– Barmak Shemirani
Nov 11 at 23:43
Any way to filter out these messages. This clutter makes it harder to debug. Enabled "Just My Code" in debug options but, it didn't do anything. Couldn't find any other options that seemed applicable.
– Tad
Nov 12 at 0:16
1
The CLSIDs mentioned in the logs belong to Microsoft OneDrive. Since it mentions that the "Class not registered", it appears that OneDrive's installation is broken. (Registration as icon handler exists, but DLL is not registered.) In this case, the file dialog is trying to initialize shell extensions and failing. This is not a problem with your code. The reason for the RPC error is unclear. Do you have the debugger set to stop on exceptions?
– TheSteve
Nov 13 at 5:58
I uninstalled (or thought I uninstalled) OneDrive. Apparently not completely. Re-installed then, uninstalled it again. Didn't help. Lots of stuff on internet about registry entries. Hoped I wouldn't have to do that (there's a lot of them). May just have to live with the beast. Debugger only breaks at unhandled exceptions.
– Tad
Nov 14 at 22:13
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
CStringW strFilter;
strFilter.LoadStringW(IDS_IMGFILEFILTER);
//Image Files (*.bmp;*.gif;*.jpg;*.png;*.tif)*.bmp;*.gif;*.jpg;*.png;*.tif|All Files (*.*)|*.*||
CFileDialog dlgFile(TRUE, NULL, NULL, OFN_ALLOWMULTISELECT |
OFN_DONTADDTORECENT | OFN_FILEMUSTEXIST, strFilter, AfxGetMainWnd());
if (dlgFile.DoModal() != IDOK) return;
Using Windows 10, 64bit
Errors appear immediately after DoModal called, before any interaction with dialog.
Output window:
mincorecomoleaut32dispatchups.cpp(2125)OLEAUT32.dll!00007FF9F66E2CA6: (caller: 00007FF9F66E2DCA) ReturnHr(1) tid(2cac) 8002801D Library not registered.
The thread 0x27b4 has exited with code 0 (0x0).
Exception thrown at 0x00007FF9F503A388 (KernelBase.dll) in ProgramName.exe: 0x000006BA: The RPC server is unavailable.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(1) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(2) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(3) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(4) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(5) tid(2cac) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(6) tid(2cac) 80070490 Element not found.
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(1) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(1) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(2) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(2) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(3) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(3) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(4) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(4) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(5) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(5) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(6) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(6) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(7) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(7) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
But, don't see any problems with program execuation.
Also tried bVistaStyle = FALSE and copied the file name buffer code as shown here
https://docs.microsoft.com/en-us/cpp/mfc/reference/cfiledialog-class?view=vs-2017
Still a page full of error messages.
File sharing has been intentionally disabled. Possible reason for "The RPC server is unavailable"?
Have seen the "OLEAUT32.dll Library not registered" message before in the default
frame work VS created for a win32 desktop application but, message there went away several
updates ago. Never caused any problems.
Know nothing about "windows.storage" but seems to provide access to known folders
like "Desktop", "Documents" and others. No problems accessing these folders.
My biggest concern is that those Chinese (or whatever foreign language that is)
processes definitely look like there is some kind of corruption.
Creating my own file name buffer seems unecessary as it works perfectly without it
and "GetStartPosition" and "GetNextPathName" are bypassed in microsoft's example.
Has this been updated?
c++ winapi mfc
CStringW strFilter;
strFilter.LoadStringW(IDS_IMGFILEFILTER);
//Image Files (*.bmp;*.gif;*.jpg;*.png;*.tif)*.bmp;*.gif;*.jpg;*.png;*.tif|All Files (*.*)|*.*||
CFileDialog dlgFile(TRUE, NULL, NULL, OFN_ALLOWMULTISELECT |
OFN_DONTADDTORECENT | OFN_FILEMUSTEXIST, strFilter, AfxGetMainWnd());
if (dlgFile.DoModal() != IDOK) return;
Using Windows 10, 64bit
Errors appear immediately after DoModal called, before any interaction with dialog.
Output window:
mincorecomoleaut32dispatchups.cpp(2125)OLEAUT32.dll!00007FF9F66E2CA6: (caller: 00007FF9F66E2DCA) ReturnHr(1) tid(2cac) 8002801D Library not registered.
The thread 0x27b4 has exited with code 0 (0x0).
Exception thrown at 0x00007FF9F503A388 (KernelBase.dll) in ProgramName.exe: 0x000006BA: The RPC server is unavailable.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(1) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(2) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(3) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(4) tid(3b00) 80070490 Element not found.
onecoreuapshellwindows.storagehomefolder.cpp(506)windows.storage.dll!00007FF9F48A2884: (caller: 00007FF9F47CB563) ReturnHr(5) tid(2cac) 80070490 Element not found.
onecoreuapshellwindows.storageregfldr.cpp(1242)windows.storage.dll!00007FF9F489F30D: (caller: 00007FF9F47C83E8) ReturnHr(6) tid(2cac) 80070490 Element not found.
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(1) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(1) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {BBACC218-34EA-4666-9D7A-C78F2274A524}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(2) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(2) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {5AB7172C-9C11-405C-8DD5-AF20F3606282}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(3) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(3) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {A78ED123-AB77-406B-9962-2A5D9D2F7F30}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(4) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(4) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {F241C880-6982-4CE5-8CF7-7085BA96DA5A}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(5) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(5) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(6) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(6) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {9AA2F32D-362A-42D9-9328-24A483E2CCC3}.]
shellshell32ovrlaymn.cpp(676)SHELL32.dll!00007FF9F6BA3824: (caller: 00007FF9F6BA3604) ReturnHr(7) tid(2f64) 80040154 Class not registered
shellshell32ovrlaymn.cpp(758)SHELL32.dll!00007FF9F6BA3653: (caller: 00007FF9F6BA34DE) LogHr(7) tid(2f64) 80040154 Class not registered
Msg:[Creating icon overlay handler from 敒楧瑳祲 failed. The CLSID is {C5FF006E-2AE9-408C-B85B-2DFDD5449D9C}.]
But, don't see any problems with program execuation.
Also tried bVistaStyle = FALSE and copied the file name buffer code as shown here
https://docs.microsoft.com/en-us/cpp/mfc/reference/cfiledialog-class?view=vs-2017
Still a page full of error messages.
File sharing has been intentionally disabled. Possible reason for "The RPC server is unavailable"?
Have seen the "OLEAUT32.dll Library not registered" message before in the default
frame work VS created for a win32 desktop application but, message there went away several
updates ago. Never caused any problems.
Know nothing about "windows.storage" but seems to provide access to known folders
like "Desktop", "Documents" and others. No problems accessing these folders.
My biggest concern is that those Chinese (or whatever foreign language that is)
processes definitely look like there is some kind of corruption.
Creating my own file name buffer seems unecessary as it works perfectly without it
and "GetStartPosition" and "GetNextPathName" are bypassed in microsoft's example.
Has this been updated?
c++ winapi mfc
c++ winapi mfc
edited Nov 11 at 23:20
Barmak Shemirani
20.5k42044
20.5k42044
asked Nov 11 at 22:20
Tad
11
11
2
this is internal win 10 output. unrelated to your code. simply ignore this
– RbMm
Nov 11 at 23:04
I don't seeMsg:[Creating icon overlay handler from 敒楧瑳祲 ...
in my VS2017/Win10 environment. Maybe that's another process which is printing debug messages incorrectly. It shouldn't be a concern.
– Barmak Shemirani
Nov 11 at 23:43
Any way to filter out these messages. This clutter makes it harder to debug. Enabled "Just My Code" in debug options but, it didn't do anything. Couldn't find any other options that seemed applicable.
– Tad
Nov 12 at 0:16
1
The CLSIDs mentioned in the logs belong to Microsoft OneDrive. Since it mentions that the "Class not registered", it appears that OneDrive's installation is broken. (Registration as icon handler exists, but DLL is not registered.) In this case, the file dialog is trying to initialize shell extensions and failing. This is not a problem with your code. The reason for the RPC error is unclear. Do you have the debugger set to stop on exceptions?
– TheSteve
Nov 13 at 5:58
I uninstalled (or thought I uninstalled) OneDrive. Apparently not completely. Re-installed then, uninstalled it again. Didn't help. Lots of stuff on internet about registry entries. Hoped I wouldn't have to do that (there's a lot of them). May just have to live with the beast. Debugger only breaks at unhandled exceptions.
– Tad
Nov 14 at 22:13
add a comment |
2
this is internal win 10 output. unrelated to your code. simply ignore this
– RbMm
Nov 11 at 23:04
I don't seeMsg:[Creating icon overlay handler from 敒楧瑳祲 ...
in my VS2017/Win10 environment. Maybe that's another process which is printing debug messages incorrectly. It shouldn't be a concern.
– Barmak Shemirani
Nov 11 at 23:43
Any way to filter out these messages. This clutter makes it harder to debug. Enabled "Just My Code" in debug options but, it didn't do anything. Couldn't find any other options that seemed applicable.
– Tad
Nov 12 at 0:16
1
The CLSIDs mentioned in the logs belong to Microsoft OneDrive. Since it mentions that the "Class not registered", it appears that OneDrive's installation is broken. (Registration as icon handler exists, but DLL is not registered.) In this case, the file dialog is trying to initialize shell extensions and failing. This is not a problem with your code. The reason for the RPC error is unclear. Do you have the debugger set to stop on exceptions?
– TheSteve
Nov 13 at 5:58
I uninstalled (or thought I uninstalled) OneDrive. Apparently not completely. Re-installed then, uninstalled it again. Didn't help. Lots of stuff on internet about registry entries. Hoped I wouldn't have to do that (there's a lot of them). May just have to live with the beast. Debugger only breaks at unhandled exceptions.
– Tad
Nov 14 at 22:13
2
2
this is internal win 10 output. unrelated to your code. simply ignore this
– RbMm
Nov 11 at 23:04
this is internal win 10 output. unrelated to your code. simply ignore this
– RbMm
Nov 11 at 23:04
I don't see
Msg:[Creating icon overlay handler from 敒楧瑳祲 ...
in my VS2017/Win10 environment. Maybe that's another process which is printing debug messages incorrectly. It shouldn't be a concern.– Barmak Shemirani
Nov 11 at 23:43
I don't see
Msg:[Creating icon overlay handler from 敒楧瑳祲 ...
in my VS2017/Win10 environment. Maybe that's another process which is printing debug messages incorrectly. It shouldn't be a concern.– Barmak Shemirani
Nov 11 at 23:43
Any way to filter out these messages. This clutter makes it harder to debug. Enabled "Just My Code" in debug options but, it didn't do anything. Couldn't find any other options that seemed applicable.
– Tad
Nov 12 at 0:16
Any way to filter out these messages. This clutter makes it harder to debug. Enabled "Just My Code" in debug options but, it didn't do anything. Couldn't find any other options that seemed applicable.
– Tad
Nov 12 at 0:16
1
1
The CLSIDs mentioned in the logs belong to Microsoft OneDrive. Since it mentions that the "Class not registered", it appears that OneDrive's installation is broken. (Registration as icon handler exists, but DLL is not registered.) In this case, the file dialog is trying to initialize shell extensions and failing. This is not a problem with your code. The reason for the RPC error is unclear. Do you have the debugger set to stop on exceptions?
– TheSteve
Nov 13 at 5:58
The CLSIDs mentioned in the logs belong to Microsoft OneDrive. Since it mentions that the "Class not registered", it appears that OneDrive's installation is broken. (Registration as icon handler exists, but DLL is not registered.) In this case, the file dialog is trying to initialize shell extensions and failing. This is not a problem with your code. The reason for the RPC error is unclear. Do you have the debugger set to stop on exceptions?
– TheSteve
Nov 13 at 5:58
I uninstalled (or thought I uninstalled) OneDrive. Apparently not completely. Re-installed then, uninstalled it again. Didn't help. Lots of stuff on internet about registry entries. Hoped I wouldn't have to do that (there's a lot of them). May just have to live with the beast. Debugger only breaks at unhandled exceptions.
– Tad
Nov 14 at 22:13
I uninstalled (or thought I uninstalled) OneDrive. Apparently not completely. Re-installed then, uninstalled it again. Didn't help. Lots of stuff on internet about registry entries. Hoped I wouldn't have to do that (there's a lot of them). May just have to live with the beast. Debugger only breaks at unhandled exceptions.
– Tad
Nov 14 at 22:13
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53253813%2fcfiledialogs-domodal-fills-debug-window%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
this is internal win 10 output. unrelated to your code. simply ignore this
– RbMm
Nov 11 at 23:04
I don't see
Msg:[Creating icon overlay handler from 敒楧瑳祲 ...
in my VS2017/Win10 environment. Maybe that's another process which is printing debug messages incorrectly. It shouldn't be a concern.– Barmak Shemirani
Nov 11 at 23:43
Any way to filter out these messages. This clutter makes it harder to debug. Enabled "Just My Code" in debug options but, it didn't do anything. Couldn't find any other options that seemed applicable.
– Tad
Nov 12 at 0:16
1
The CLSIDs mentioned in the logs belong to Microsoft OneDrive. Since it mentions that the "Class not registered", it appears that OneDrive's installation is broken. (Registration as icon handler exists, but DLL is not registered.) In this case, the file dialog is trying to initialize shell extensions and failing. This is not a problem with your code. The reason for the RPC error is unclear. Do you have the debugger set to stop on exceptions?
– TheSteve
Nov 13 at 5:58
I uninstalled (or thought I uninstalled) OneDrive. Apparently not completely. Re-installed then, uninstalled it again. Didn't help. Lots of stuff on internet about registry entries. Hoped I wouldn't have to do that (there's a lot of them). May just have to live with the beast. Debugger only breaks at unhandled exceptions.
– Tad
Nov 14 at 22:13