Solved

Registering the dll created by add-in wizard gives problem

Posted on 2001-07-13
4
318 Views
Last Modified: 2013-12-03
We created an add-in for a specific task with VisualC++ 6.0 on a workstation running on windows2000. Now when we try to register this add-in dll on other workstations running on windows 2000, it runs fine on some and on some others it gives this message,

"Unable to register this add-in because its dll register server returns an error".

0
Comment
Question by:creative12
4 Comments
 
LVL 6

Accepted Solution

by:
MichaelS earned 100 total points
Comment Utility
On w2k you have to have administrator rights for some keys in registry. Try to run it under another user accaunt. Also you can check your code and see with which parameter RegCreateKeyEx called.
0
 
LVL 5

Assisted Solution

by:robpitt
robpitt earned 50 total points
Comment Utility
If that doesn't help then maybe its time to add lots of debug logging / error checking. Also why not remote debug it.

Rob
0
 
LVL 3

Assisted Solution

by:romanm
romanm earned 50 total points
Comment Utility
additionaly, if your add-in requires a certain dll to work and not all the computers have that dll, then... you know.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now