|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Phil Reynolds (preynolds
RIDGEWAYSYSTEMS.COM)Date: Fri Apr 19 2002 - 03:25:52 CDT
There is obviously some confusion... What language are you working in?
> -----Original Message-----
> From: Jorge A. Rodriguez [mailto:jars
RECIFE.PE.GOV.BR]
> Sent: 18 April 2002 11:03
> To: DCOM
DISCUSS.MICROSOFT.COM
> Subject: Re: [DCOM] About HRESULT...
>
>
> But the method i call do return nothing, is a procedure not a
> function of my
> server, where i can get the hresult?
>
> regards...
>
> ----- Original Message -----
> From: "Wayne Coles" <wcoles
REFLECTIONSINTERACTIVE.COM>
> To: <DCOM
DISCUSS.MICROSOFT.COM>
> Sent: Thursday, April 18, 2002 14:39
> Subject: Re: About HRESULT...
>
>
> > > How can i know te value of HRESULT in any time in my
> > > application?...something like GetLastError to get an error
> > > after the call of
> > > any API function that call SetLastError.
> >
> > A hresult is a return value, there isn't any way of just
> retrieving the
> last
> > one returned unless you've stored it somewhere.
> >
> > HRESULT hr = pSomeInterface->SomeMethod();
> >
> > // Last hresult = hr
> >
> > Wayne
> > -Virus scanned and cleared ok
> >
> > ----------------------------------------------------------------
> > Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
> > contains important info. Save time, search the archives at
> > http://discuss.microsoft.com/archives/index.html .
> > To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
>
> ----------------------------------------------------------------
> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
>
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]