English 中文(简体)
C++ BHO (IE Addin) issue
原标题:C++ BHO (IE addin) issue

我正在使用黄色世界体样本创建一种生物圈。 Building Browser Helper Object with Vision 2005 Volume

The BHO is not takeed, i is not found at thebreakpoints in SetSite function.

请让我知道,需要哪些其他环境来登记英国乐团,然后再加以辩论。

我正在使用IE9,VS2008。

非常感谢

最佳回答

这是因为夸张不附属于正确的E9进程。 围绕这一点开展工作,你必须要求国际E9对所有表格采用单一程序。 可以通过确定登记处的价值来做到这一点: KongEY_CURRENT_USERSoftwareMicrosoftInternet ExplorationMainTabProcGrowth = 0

Hope this helps.

问题回答

您是否确信你已登记? 假设你准确地应用了上述链接中的例子(尤其是关于利用CLSID正确编印的文件的章节),从一个高档/行政的CMD窗口中抽取:

regsrv32 /s mybho.dll

这将在《国际水道测量法》内登记COM物体,并在互联网探测器上登记作为《国际水道测量法》

此外,鉴于E9,你需要确保它能够在Addons经理(工具/公务添加物)中发挥作用。

I had the same issue. I was using 64 bit IE9 but I changed the debugger to use 32 bit and it works for me now.

2008年,VS前往菜单:

项目->项目名称<>/em> 不动产->

C:Program files (x86)Internet Explorationiexplore.exe

我在前面使用了64比特:

C:Program 文件

Also use a local file to avoid issues with protected mode:

Command Arguments:

path to some local html file

Good Luck...

Are you running in protected mode? If yes , then the breakpoint in SetSite will never be hit. Refer http://msdn.microsoft.com/en-us/library/bb250462.aspx to know more about protected mode.

Also did you try registering the BHO using regasm ?





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?