BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Import secondary type lib from EXE/DLL?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Diego
Guest





PostPosted: Tue Apr 03, 2007 4:24 pm    Post subject: Import secondary type lib from EXE/DLL? Reply with 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
Dmitry Streblechenko
Guest





PostPosted: Thu Apr 05, 2007 8:12 am    Post subject: Re: Import secondary type lib from EXE/DLL? Reply with 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...
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





PostPosted: Sun Apr 08, 2007 8:12 am    Post subject: Re: Import secondary type lib from EXE/DLL? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.