Solved

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

Posted on 2003-11-17
4
171 Views
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
0
Comment
Question by:cszeg
4 Comments
 
LVL 48

Accepted Solution

by:
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.
0
 
LVL 49

Assisted Solution

by:DanRollins
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.
0
 
LVL 9

Expert Comment

by:tinchos
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.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
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

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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 viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

939 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

7 Experts available now in Live!

Get 1:1 Help Now