Solved

Importing ActiveX objects into Delphi.

Posted on 2001-07-09
4
266 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
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 300 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

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

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 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