Solved

ActiveX DLL file no ocx

Posted on 2002-03-25
4
316 Views
Last Modified: 2010-04-04
can i add to delphi an ActiveX DLL file (not ocx), how ?
0
Comment
Question by:asi
4 Comments
 

Author Comment

by:asi
ID: 6893954
this file / component support COM
0
 
LVL 11

Expert Comment

by:robert_marquardt
ID: 6894067
Should be all the same. Try importing it as ActiveX.
0
 

Expert Comment

by:classics
ID: 6895778
Register the dll using regsvr32

regscr32 dllname.dll

Then use the 'Import ActiveX' from the delphi component menu.  The long name of the activex thing will be listed there.  The long name will be whatever the author called it, not the name of the DLL.
0
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 50 total points
ID: 6896284
Another nice way would be to import the DLL as a type library. Select Projects/Import type library, click on Add, select the dll/ocx you want to add, click on Install to install a new unit. That should add it as a new control on the tab page ActiveX.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

810 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