?
Solved

Importing ActiveX objects into Delphi.

Posted on 2001-07-09
4
Medium Priority
?
270 Views
Last Modified: 2010-04-06
When I import a COM object then Delphi generates a wrapper for it. Problem is: The wrapper is not always valid. Is there any other program which can generate the delphi wrapper unit for a com object?
  Can someone give me a clue how to create a working wrapper for com components?
 
0
Comment
Question by:Buda
[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
4 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 6264300
I don't think you will find anything.
0
 
LVL 17

Accepted Solution

by:
inthe earned 600 total points
ID: 6264383
0
 
LVL 11

Expert Comment

by:robert_marquardt
ID: 6265356
What do you mean with "not always valid"?
Is this the problem that the import always generates "var" parameters and never "Pointer2 parameters?
This problem is not solvable. There is not enough information in the IDL (which describes the structure of the TLB) to decide if "Var" or "Pointer" should be generated.
So the conversion program of Delphi uses always "var".
0
 

Author Comment

by:Buda
ID: 6265739
inthe got the point, but still. I could not run my activex on first try. The problem IS in sink object.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

764 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