logo       

Re: Trying Jawin: msg#00034

windows.devel.jawin

Subject: Re: Trying Jawin

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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise