Jeff Sholl

I know that's kinda shameful and not what these forums are about, but I'm at my wits end here and I could really use the help. I am serious though, I have no problem buying a CD for someone(s) who can figure out my problem.

Ok, here is the deal, I am fairly new to BHOs and I was working through the tutorial at http://msdn2.microsoft.com/en-us/library/bb250489.aspx . I created the dll in VS2005 C++ and was registering it with "RegSvr32 /s MyDll.dll", and it was working fine on my windows Vista machine. However, when I put it on my wife's computer, which has XP, and tried to register it using the "RegSvr32 /s MyDll.dll" it gave me the error:

"Load Library("MyDll.dll") failed - This application has failed to start because the application configuration is incorrect."

Like I said, it works fine on my Vista machine but not on my wife's XP machine, and what bugs me is that the tutorial I believe was created for XP! So it should work on XP right ! !

Anyway, I'm sure it's just some damn small fix that I'm overlooking, but I figured "What's a CD if it gets me past this headache ". So any help would be GREATLY appreciated, and I'm serious about the CD if you can fix this damn thing and get it to work.

He is a link to my VS C++ 2005 project:

http://www.highersymmetry.com/Software/HelloWorld3.zip

Thanks alot guys,

Jeff



Re: Internet Explorer Web Development If someone can help me I will buy you a CD from Amazon.com!!! BHO Register problem...

mduray


Jeff,

I couldn't see anything wrong with it. It registered okay on XP Pro on my end. Could this be a lack of rights issue in XP

And forgive the stupid question, but you're trying to register this with "RegSvr32 /s HellowWorld3.dll", right (in other words, not "MyDll.dll")




Re: Internet Explorer Web Development If someone can help me I will buy you a CD from Amazon.com!!! BHO Register problem...

Jeff Sholl

Thanks for looking into it man, I appreciate it, and hahaha, yeah I am registering the right dll. It just doesn't register on my wife's XP machine. I think it might have something to do with the fact that I created it in VS2005, because I created something similar in VS2003 and it registered fine. I just can't figure out what change I would have to make to the one created in 2005 to get it to register.





Re: Internet Explorer Web Development If someone can help me I will buy you a CD from Amazon.com!!! BHO Register problem...

123_Chris

Jeff,

The problem is probably that your wife's XP computer doesn't have the VC2005 run time dlls on it. Your options are

1) Copy '\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\vcredist_x86.exe' from your machine onto your wife's and run it. Or you could get the updated SP1 redistributable msi from Microsoft's site.

2) Install .NET Framework 2.0 on your wife's machine. Again available from Microsoft's site

I can vouch for 1) but have not tried to solve this problem with 2). Note that the redistributable contains only the release versions of the dlls, not the debug, so you will need to build the release version of your application.

Hope all this helps,

Chris





Re: Internet Explorer Web Development If someone can help me I will buy you a CD from Amazon.com!!! BHO Register problem...

Barry D

Jeff,

I was also getting this message when I tried to install my BHO onto another XP machine.

What, causeded the problem for me was the MSHTML is not installed on the target machine. The Dev Studio installs it to your local machine.

What I did to get around it was:

Alter the Reference to MSHTML in your project to be "Local Copy" this will put the DLL into your output directory. Copy it along with your BHO dll.

Hope this works for you.

Barry..