Solved

ActiveX DLL file no ocx

Posted on 2002-03-25
4
322 Views
Last Modified: 2010-04-04
can i add to delphi an ActiveX DLL file (not ocx), how ?
0
Comment
Question by:asi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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 is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month4 days, 5 hours left to enroll

630 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