Re: Trying Jawin

Olivier Lefevre <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <[email protected]>
Hi,

jactivex.exe is the tool used by the MS JVM to generate the wrappers;
thus it is
the equivalent of your TypeBrowser tool. As for the /xh flag, the
manual says:

   /xh
   Modifies translation of HRESULT types so that only HRESULT return
types
   that have the high (FAIL) bit set cause Java exceptions. Non-failing
HRESULTs
   (such as S_FALSE) are treated as if they were S_OK.

This is necessary because some libraries return codes other than S_OK
to
indicate success, which in the absence of this flag would be converted
into
a Java exception: not what you want.

The path to the TLB definitely has spaces in it since it is installed
under
C:\Program Files. The path to the TypeBrowser does not.

Regards,

-- O.L.
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.