Re: Trying Jawin

Morten Andersen <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Organization Arosii Information Systems A/S
Message-ID <[email protected]>
Hi Olivier

Olivier Lefevre wrote:
>    /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.

Ok, we use the FAILED()-macro for deciding whether a HRESULT should
generate a Java exception. So I think that the default (actually the
only) Jawin behaviour is equal to turning on the /xh-flag.

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

Ok, does it help to try to use the TypeBrowser on a copy of the TLB,
copied to a non-space location?

Best Regards
Morten
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.