AciveX of ActiveX

I have a microsoft ActiveX binarry that I want to use. I want to add some functions to that MS ActiveX and use the resulted code as a new ActiveX. Here are my questions:
1. Is it possible to add functions to MS ActiveX component without having its source code? HOW?
2. How to deal with the resulted ActiveX license? Will the user see 2 license for the resulted ActiveX (MS license and mine?)
3. Will it be better for performance to use MS ActiveX as it is and put all the new functions in a seperate ActiveX?

Thanks
   
kawaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jhanceCommented:
1. Is it possible to add functions to MS ActiveX component without having its source code? HOW?

Yes, you write a new ActiveX object and load the old ActiveX into your new one.  This is called containment.  You pass all of the old methods and properties unchanged to the old object and process any new ones yourself.


2. How to deal with the resulted ActiveX license? Will the user see 2 license for the resulted ActiveX (MS license and mine?)

Hmmm, good question.  The answer is yes.  If the existing component uses licensing, then that will still be required if you contain it in your new component.

3. Will it be better for performance to use MS ActiveX as it is and put all the new functions in a seperate ActiveX?

It doesn't matter much.  Generally performance of the object itself is not an issue especially with a user-interface ActiveX control.  But still, I don't see much degradation in performance with a contained control.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kawaAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.