microsoft/Windows-classic-samples

CommonFileDialog example questions

sirgru opened this issue · 0 comments

sirgru commented

After running the example, Visual Studio Output Window logs the following error:
Exception thrown at 0x00007FFEE268CD29 (KernelBase.dll) in CommonFileDialogSDKSample.exe: 0x000006BA: The RPC server is unavailable.
The application seems to behave correctly. Is this normal?

Also, I've noticed that after the dialog window is shown, my application takes a long time to close. That is, the window closes but the associated console that it spawns stays on for a second. It seems that using Show() causes a bunch of dlls to be loaded, which leads to increased shutdown time. Is this normal?