English 中文(简体)
视力演播室2008年不再进行活性X控制
原标题:Can no longer debug ActiveX controls in Visual Studio 2008

很久以来,我将在我积极X控制的起步守则中推出一个PobugBreak()或ASSERT(false),把IE装上,进入一个当地东道页面,接受我的控制,等待方言显示,然后推翻我的申请。 我还可以通过将IE确定为集装箱,在浮桥下发射。

我在两个月内第一次尝试,现在不再工作。 如果我使用ASSERT(false)方法,那么我获得视觉C++ Debug dialog和点击“报复”, IE简单地关闭了,没有任何夸大的活动。 当我试图从VS2008年发射并想到DebugBreak()在我装上该页之后,VS2008确实中断了,但要么说“RPC服务器无法使用”,要么说“RPC客户呼吁失败”。 我从未获准在夸张中申请过,在甚小的单元清单中也没有显示。 2008年全球抽样调查中的中点光只包含微软DLs和模块,而不是我的代码。

我假定,我通过《Windows Update》挑选的一件事情已经打破。 是否有其他人看到这一问题,并知道如何消除这一问题? 我现在完全无法阻止我的积极X控制。

最佳回答

I faced exactly the same problem like you, but it turned that the reason is IE itself, not Visual Studio - here is what a friend of mine showed me:
- IE8 opens many processes at least one for each tab plus one more. This confuses the debugger.
- You can disable this "feature" and (for me) debugging started to work,
- I still cannot "Attach to process", but putting IE as debug application is fine.

这里,你们如何去做:

为了克服这一问题,你需要按照以下步骤,消除LCIE的进程增长特征:

1) Open RegEdit
2) Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3) Add a dword under this key called TabProcGrowth
4) Set TabProcGrowth to 0

如果你在Vista或新老问题上遇到同样的问题,那么你也需要改变和强化保护的方式。

I ve tested on Win XP so far. Help came from this link: http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx

Good Luck!

问题回答

请注意,如果你重新使用64-bitWindows,你需要在32个轨道登记处建立TabacGrowth,NOT是正常登记处。

为此,开放的系统百分率(%syswow64 egedit)而不是仅仅注册。

详情见http://support.microsoft.com/kb/305097

你们能否利用Atach处理视觉演播室的问题,确保Atach To被定为土著法典?

www.un.org/Depts/DGACM/index_spanish.htm How to debug C++ in the IE.10 + WIN8 64bit + VS2008

  1. 保持中型(不会改变!)

  2. 第VS2008 OCX项目 与C号指挥项目:Program文档(x86)Internet Explorationiexplore.exe,Attach = 是,Debugger, = Native only

  3. 开放因特网探索10 表格 WIN8 任务栏。

  4. 因特网探索者10号圆顶中的目标ocx htm文档道路的关键。 和报界进入装货的钥匙 htm

  5. 采用IE.10活性X模式:

  6. 当IE10活跃时 备妥的X方式是运行您的VS2008 OCX射线,将IE10与你的休息点相连接。

  7. Refresh IE. 页: 1





相关问题
How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Trouble with VS.PHP installing it s own Apache server

I tried installing VS.PHP some time ago. I was intent on seeing how it works with my current setup. I immediately encountered trouble: none of my sites wanted to render. On windows, I m using WAMP ...

Jquery and Intellisense in VS 2008 with hotfix and SP1

I followed Scott Guthrie s instructions as outlined at http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx but no avail: intellisense still doesn t work. Any tips?

Fixing "error C2065: undeclared identifier"

First off, I m completely out of my depth here. So the question might be the wrong one to ask, but here goes... As per the accepted answer to this question, I m trying to compile the bindings for the ...

View whitespace in VS2008

After Jeph most recent post: http://www.codinghorror.com/blog/archives/001310.html, I thought to myself it would be fun to see if any of my code has those trailing whitespaces. So I open Visual ...

热门标签