Attach to running IE. pShellWindows.CreateInstance

2019-08-21 21:26发布

I am trying to attach to running IE using the pShellWindows.CreateInstance(__uuidof(SHDocVw::ShellWindows)); This fails with Error Class not registered.
The OS is Windows Server 2003 SP2. On other computers with the same OS the code works fine.

1条回答
够拽才男人
2楼-- · 2019-08-21 21:31

I got it. I never logged on with the user I was running into this computer interactively so IE had no chance to set up shell integration. After I logged on once the problem went away

查看更多
登录 后发表回答