Solved

Importing ActiveX objects into Delphi.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mydac connection data base issue 3 140
Virtuailstring tree compare node issue 14 105
Convert GUI app into console app for Win32 Env 5 81
How to debug For loops? 3 45
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 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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

896 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

13 Experts available now in Live!

Get 1:1 Help Now