Start Without Debugging" to simply launch it (without de" /> Start Without Debugging" to simply launch it (without de" /> Start Without Debugging" to simply launch it (without de"/>

Why doesn't preview pane in File Open Dialog work when application launched from Visual Studio, but works fine launched otherwise?

262 Views Asked by At

Even for something as simple as Notepad.exe, if I open Visual Studio on that and use "Debug > Start Without Debugging" to simply launch it (without debugger attached), then the preview pane in its Open File Dialog doesn't work. If I simply launch Notepad from Explorer or the Start menu, the preview pane works fine. Anyone know what is happening? And what can I do in my applications to enable the preview pane to work even when the application is launched from Visual Studio? (in particular, these are C++ MFC applications and C++ preview handler DLLs.. is there something about the environment or access rights token that's different for the different ways an application is launched that has to be accounted for to make sure preview panes work ok?) thanks!

0

There are 0 best solutions below