Solved

Can change VC Program to Activex Object?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Jquery UI datepicker destroy 4 60
DNS for website issue 9 122
wordpress plugin for user logins 6 85
C++ BOOL WINAPI ReadFile fails on windows 10 when reading from USB cable 9 377
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now