Solved

Importing ActiveX objects into Delphi.

Posted on 2001-07-09
4
261 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
Comment Utility
I don't think you will find anything.
0
 
LVL 17

Accepted Solution

by:
inthe earned 300 total points
Comment Utility
0
 
LVL 11

Expert Comment

by:robert_marquardt
Comment Utility
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
Comment Utility
inthe got the point, but still. I could not run my activex on first try. The problem IS in sink object.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

16 Experts available now in Live!

Get 1:1 Help Now