Solved

Registering the dll created by add-in wizard gives problem

Posted on 2001-07-13
4
325 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
ID: 6281337
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
ID: 6281915
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
ID: 6377046
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

17 Experts available now in Live!

Get 1:1 Help Now