Use an ActiveX COM DLL within Delphi without .ocx?

I have a component which is described as an ActiveX COM DLL. I would like to use the component with Delphi 7 to develop applications.
When I have used ActiveX components in the past, there has been a .ocx ActiveX control file which I have used with Component > Import ActiveX > Add to be able to see the component in a palette and add it to my application.
There is no mention of a .ocx file with this release anywhere in the documentation, nor can I find on the www a .ocx file or any guidance which would enable me to get to work. Can someone please fill in the knowledge gap and let me know either how to use this .dll or why it isn't possible?
shallimusAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vadim_tiCommented:
if this DLL includes type library, you can select
components -> import activex control -> add -> select your DLL

after your TLB will be added to TLB list, you will click "create unit" button,
as a result interface uniit will be created

if you will click "install" button, your activex will be installed in component palette
0
shallimusAuthor Commented:
Thanks for your reply vadim_ti.
I tried adding the DLL, and received no error, but do not see the component in the list. I have looked through several times; it really isn't there. There is a .tlb file in the directory with the DLL.
Is there something I'm doing wrong, or not doing?
0
shallimusAuthor Commented:
Or, another thought occurs: is there some way to manually add the TLB to Delphi's list, since it doesn't seem to add in the way it is supposed to?
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

vadim_tiCommented:
You can use TLIBIMP utility

TLIBIMP yourLibrary.TLB

2 files will be created:

yourLibrary_TLB.PAS
yourLibrary_TLB.DCR

it will be delphi component and you can install it in regular way

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mohammed NasmanSoftware DeveloperCommented:
Hello

  ActiveX COM Dll is just Com Dll, don't use Import ActiveX menu to add reference to it, instead use Import Type Library from project menu

0
shallimusAuthor Commented:
Thanks vadim. This was great and exactly what I needed. The component is now working in my IDE :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.