Release/Debug configuration builds of ActiveX Control(C++)

Posted on 2003-11-17
Last Modified: 2010-04-02
I am developing an activex control(C++) to interface to a VB UI shell.  If the activex control is compiled under a Release configuration - all appears OK - activex runs fine.

If the activex control is compiled under the Debug configuration - the control won't register correctly - get "not registerable as an ActiveX component" - hence I cannot debug the activex control - since the control requires an exe to run(in this case my VB UI shell which calls one of the activex controls functions).

Any ideas?

Thanks in advance.

George Sze
Question by:cszeg
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 48

Accepted Solution

AlexFM earned 25 total points
ID: 9769079
If registration of ActiveX control fails in Debug mode, you can debug it using regsvr32 as executable for debugging.
LVL 49

Assisted Solution

DanRollins earned 25 total points
ID: 9769457
Or try to manually unregister the release version first.  And you may need to reboot -- maybe something the ActiveX does causes it to get stuck in memory and so can't be replaced or something like that.

Expert Comment

ID: 10249266
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: AlexFM {http:#9769079} & DanRollins {http:#9769457}

Please leave any comments here within the next seven days.

EE Cleanup Volunteer

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

617 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