Re: None of the dll's contain type information!

"Vitaly Shelest(home)" <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <001b01c50935$fef80170$660fa8c0@vitallis>
Hi David,
you are right. If DLL's Typelib was imported with Visual Studio it can be
loaded from DLL with

HRESULT LoadTypeLib( const OLECHAR FAR*  szFile,  ITypeLib FAR* FAR*
pptlib);
or
HRESULT LoadTypeLibEx(LPCOLESTR  szFile, REGKIND  regkind,  ITypeLib**
pptlib);

With ITypeLib interface you can get all Typelib's data. Function
"LoadTypeLib" loads Typelib from any module (DLL, TLB, OCX, etc.) . While
writing my wrapper generator (for NJAWIN, which is a paraphrase of jawin) I
used this approach.

Vitaly Shelest


----- Original Message -----
From: "David Hay" <[email protected]>
Newsgroups: gmane.comp.windows.devel.jawin
Sent: Monday, January 31, 2005 4:16 PM
Subject: None of the dll's contain type information!


> Hi,
>
> sorry - another newbie question.
>
> I have another package that I am trying to call through Jawin, but the
> browswer says that none of it's dll's (that I can find) contain any type
> information.
>
> What does this mean, and is there a way around it?
>
> Many thanks,
>
> David
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.