Solved

Can change VC Program to Activex Object?

Posted on 1998-01-20
2
290 Views
Last Modified: 2013-11-18
Can change VC Program to Activex object?
How, please detail,
Thank YOu
0
Comment
Question by:logout
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 10 total points
ID: 1178590
As a minimum, you must add the the IUnknown interface to your VC++ application and implement the QueryInterface(), AddRef(), and Release() functions to IUnknown. My guess, however, is that this is not really your question.  I'm assuming that you have some VC++ non-COM or ActiveX program and would like to get it into the "ActiveX" world.  Obviously, there a lot to this whole subject and it's not a trivial answer.  I'd suggest you spend some time familiarizing yourself with the technology.  The following resources are very useful:

1) Inside COM by Dale Rogerson.  This gives you the basics behind COM in a clear, simple format.  It's easy reading, the examples are comprehensive.  Start here and the rest will be easy.

2) Next, I'd suggest reading Kraig Brockschmidt's Inside OLE (2nd Edition).  This extends COM to cover OLE and is the definitive reference on this subject.  No COM, OLE, or ActiveX developer should be without it.

3) Finally, get ActiveX Controls Inside Out by Adam Denning.  This gives you all the details on how to use COM and OLE technology to build ActiveX control for your web pages, applications, or whatever.

All of these books are published by MS Press and should be easy to find.  I realize it's a lot of reading but getting into ActiveX is not a 30 minute tutorial and a couple of Developer Studio settings (at least not yet).

Hope this helps.
0
 

Author Comment

by:logout
ID: 1178591
any web site?
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

777 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