Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2003-11-17
4
Medium Priority
?
186 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
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 100 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 100 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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 video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

877 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