?
Solved

Can change VC Program to Activex Object?

Posted on 1998-01-20
2
Medium Priority
?
294 Views
Last Modified: 2013-11-18
Can change VC Program to Activex object?
How, please detail,
Thank YOu
0
Comment
Question by:logout
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 20 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

752 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