----- Original Message -----
From: "Thomas Tomiczek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 09, 2002 12:56 PM
Subject: Re: [ADVANCED-DOTNET] Redeclaring COM interface return type - ??

<snip>

*** OK, so the trick is that was used to compile this has already the
retval point. I just basically move one parameter (which? Any way to
find this out without access to the ID`?) to the return type.


<snip>

Well, if there is a retval, it's always going to be the last parameter. With
respect to getting the IDL, there are a couple of ways to get the IDL for a
given COM interface: one is to see if it's documented in the MSDN library,
another is to use the OleView tool from VS6 (you can directly load it from
the executable if the type library was embedded as a resource, or you can
choose it from the list of registered type libraries), and yet another is to
see if the IDL file containing the declaration is in the platform SDK. If
you can't find it using one of those, someone must not want you to use that
interface ;). By the way, I usually end up combining the MSDN library's
documentation as XML documentation with the declaration from the IDL files
so I can get pretty IntelliSense tooltips with descriptions.

-Andy

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to