Solved

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

Posted on 2003-11-17
4
170 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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. …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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 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.

743 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

15 Experts available now in Live!

Get 1:1 Help Now