Solved

C++ Language question

Posted on 1997-06-05
1
181 Views
Last Modified: 2010-04-10
Hi All,
   My application writting in vc++ 5.0, I want to call a activex control and use the active's control to do something.
   How can I do that?

Thanks!!
Ben
Ben@bestinfo.net
0
Comment
Question by:jpchen
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 0 total points
ID: 1163847
Make your application as an ActiveX control container. You can use Component Gallery to generate a C++ wrapper class for the ActiveX control. All the detailed information that you need is in the Visual C++ documentations:

Programming with MFC: Encyclopedia/OLE Control Containers.

Visual C++ User's Guide/Using Component Gallery.

0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

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…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
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.

770 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