Solved

ActiveX DLL file no ocx

Posted on 2002-03-25
4
320 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

751 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