Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ActiveX DLL file no ocx

Posted on 2002-03-25
4
Medium Priority
?
325 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 200 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

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…
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 shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

773 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