1
Vote

Troubleshooting DefaultNamespaceFolderView.CreateShellView

description

First, I have to say thanks for such a helpful framework. It is phenomenal how simple this framework makes building shell extensions.

Now, on to the issue I would like to help with. I don't have a solution yet, but perhaps this info could be useful to someone. In the code there is a note that the SHCreateShellFolderView call fails. That is mostly true. It actually works for me the first time, and fails on subsequent calls.

What I find odd (because I am new to this codebase) is what happens after it succeeds. The subsequent processing looks a little like an infinite loop. I'm wondering if there is an cycle there that is causing a stack overflow. Perhaps if this were working correctly the subsequent calls to SHCreateShellFolderView would succeed.

comments