使用vs2008调试win7 64位下activex控件

环境:win7 64位,ie11,vs2008 sp1

1.运行,regedit,在HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main下新建(或修改)一DWORD(32)值,TabProcGrowth,值为1,这样如果新增tab页会启用一个32为ieplore.exe*32进程,

2.附加到进程,选择x86 的ieplore.exe,即可进入断点


参考:http://www.iefans.net/win7-win8-dakai-32wei-ie10-ie11/

http://stackoverflow.com/questions/17840884/debugging-32-bit-activex-control-with-visual-studio-2008-and-ie-10

http://stackoverflow.com/questions/3021371/can-no-longer-debug-activex-controls-in-visual-studio-2008?rq=1

http://stackoverflow.com/questions/3021371/can-no-longer-debug-activex-controls-in-visual-studio-2008

http://support.microsoft.com/kb/2716529/zh-cn

你可能感兴趣的:(c++,com)