Solved

Can change VC Program to Activex Object?

Posted on 1998-01-20
2
291 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

838 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