Importing MANY type libraries...

Well, okay... I have a new computer and I've installed Delphi 2006 on it. The next step I want to take is using the type library import option to import ALL ActiveX controls on my new system to PAS files. (And without component wrappers!) And this is just taking me a lot of time. I have to open the dialog in the wizard, select the ActiveX control that I want to import, push the next buttons a few times and then click Finish to create and close the dialog again. And then I can start with the next item in the list.
Well, that's fine if you only need to import two or three type libraries but I've become mad and I want to import ALL (registered) type libraries on my system. And I haven't found a solution which allows me to do this quickly.

In the meantime I've already converted all type libraries starting with the letter A and B and am halfway C... This is just going too slow.

So the question is if Delphi 2006 has some (hidden) feature that allows me to import multiple type libraries... Something where I can click a button and then have Delphi generate the PAS files for me...
LVL 17
Wim ten BrinkSelf-employed developerAsked:
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.

MerijnBSr. Software EngineerCommented:
very wild idea: can't you send the rigth keystrokes into delphi and thus automating the process?
Wim ten BrinkSelf-employed developerAuthor Commented:
Automating the action? I could do that but the problem is that I have to go through this list of ActiveX libraries selecting the next item every time. Unfortunately Delphi doesn't remember the one I previously selected and I also have to deal with possible error messages that might be generated. Besides, writing such a tool would take about as much time as doing it all manually. :-)
MerijnBSr. Software EngineerCommented:
writing the tool would (in my opinion) not be that much work.

For selected the next item each time, send one more downarrow keystroke each time :)
Get expert help—faster!

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

Wim ten BrinkSelf-employed developerAuthor Commented:
True. One more down every time. And of course check for any error messages and wait for the import to complete. And possibly keep track of any other possible errors. But for some reason I feel there must be an easier solution for this...
maybe create your own app to generate .pas files?

MerijnBSr. Software EngineerCommented:
there is an tlibimp.exe in your $delphidir\bin directory, maybe you can use that?

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
Wim ten BrinkSelf-employed developerAuthor Commented:
MerijnB, EXACTLY what I was looking for! :-) Perfect answer.
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

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.