FOLLOWUP: RE: [JAWIN] IStorage

"Mcnamara, Sean D" <[email protected]> Fri, 2 Jun 2006 16:12:37 -0400
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <57F935D6BB6B2543AF5D835DCE7CAF27020F9054@MD61EX100.ad.honeywell-tsi.com>
After some more investigation, it would appear that IStorage is an
interface in ole32.dll. I suspected as much due to its C++-ish name.
This is not a COM component as you know it from Visual Basic or Office
libraries. In fact, it's not scriptable at all. Ole32.dll doesn't even
have a vtable, so you can't use Jawin Type Browser (JTB) to generate any
Jawin stubs for this. You need to follow the procedures on
http://jawinproject.sourceforge.net/jawin.html#callingDll to use
IStorage with Jawin.

Good luck,
Sean

-----Original Message-----
From: Discussion of Java/Win32/COM integration with Jawin
[mailto:[email protected]] On Behalf Of Andre R. Santos
Sent: Friday, June 02, 2006 2:58 PM
To: [email protected]
Subject: [JAWIN] IStorage

Hi, I'm new to Jawin, and I'm trying connect my application to a
proprietary
file that was created using COM architecture in a compliant way using
IStorage. I'm not familiar with these technologies as well.

This file is in my computer. I've been trying to use Jawin API to open
the
IStorage and access its IStreams, but I have no idea where to start.
Does
anyone have any suggestions?

Thanks in advance,

Andre


Ps: For relevant(?) info on IStorages and IStreams:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stg/stg
/istorage.asp