Solved

Can change VC Program to Activex Object?

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

717 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