 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Diego Guest
|
Posted: Tue Apr 03, 2007 4:24 pm Post subject: Import secondary type lib from EXE/DLL? |
|
|
Hi all,
I have an EXE that has multiple type libraries. When I import the EXE as
an Obj_TLB.pas file I get the EXE's primary type library. Is there a
way that I can get the other type lib that lives in the EXE?
Any help would be appreciated.
Cheers,
Diego |
|
| Back to top |
|
 |
Dmitry Streblechenko Guest
|
Posted: Thu Apr 05, 2007 8:12 am Post subject: Re: Import secondary type lib from EXE/DLL? |
|
|
I don't think so. Delphi only supports one TL resource per executable.
Did you try to extract the type libraries using Visual Studio?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Diego" <a (AT) b (DOT) c> wrote in message news:46123983$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi all,
I have an EXE that has multiple type libraries. When I import the EXE as
an Obj_TLB.pas file I get the EXE's primary type library. Is there a way
that I can get the other type lib that lives in the EXE?
Any help would be appreciated.
Cheers,
Diego |
|
|
| Back to top |
|
 |
Diego Guest
|
Posted: Sun Apr 08, 2007 8:12 am Post subject: Re: Import secondary type lib from EXE/DLL? |
|
|
Thanks for the int Dmitry. I actually ended up using OleView, copy and
pasting the typelib into a text editor. Saved the file as something.idl
then used MIDL to create the typelib.
Cheers,
Diego
Dmitry Streblechenko wrote:
| Quote: | I don't think so. Delphi only supports one TL resource per executable.
Did you try to extract the type libraries using Visual Studio?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Diego" <a (AT) b (DOT) c> wrote in message news:46123983$1 (AT) newsgroups (DOT) borland.com...
Hi all,
I have an EXE that has multiple type libraries. When I import the EXE as
an Obj_TLB.pas file I get the EXE's primary type library. Is there a way
that I can get the other type lib that lives in the EXE?
Any help would be appreciated.
Cheers,
Diego
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|