?
Solved

C++ Language question

Posted on 1997-06-05
1
Medium Priority
?
196 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
[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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
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…
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 learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

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