A question about IShellLink interface and the COM object.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



We can query the object implementing IShellLink for IPersistFile to
create a shortcut file.

But if I don't know this tip, how can I know that the object which has
implemented IShellLink also has implemented IPersistFile???

Maybe this is a topic about using Microsoft COM objects, however, I
cannot find any guidelines through msdn.

thanks.
.



Relevant Pages

  • Re: A question about IShellLink interface and the COM object.
    ... create a shortcut file. ... implemented IShellLink also has implemented IPersistFile??? ... overhead. ... -- RFC 1925 ...
    (microsoft.public.vc.language)
  • Re: Interface Question
    ... ShellLinkIF: IShellLink; ... PersistFileIF: IPersistFile; ... ShellLinkIF:= ObjectIF as IShellLink; ...
    (comp.lang.pascal.delphi.misc)
  • Interface Question
    ... Inheritance for IShellLink, IPersist, and IPersistFile is declared as ... PersistFileIF: IPersistFile; ... ShellLinkIF:= ObjectIF as IShellLink; ...
    (comp.lang.pascal.delphi.misc)
  • Re: A question about IShellLink interface and the COM object.
    ... create a shortcut file. ...     Igor Tandetnik ... overhead. ... implemented or place it just under the IShellLink description... ...
    (microsoft.public.vc.language)
  • Re: How to get data from Shortcut file
    ... > I want to retrieve data from shortcut file, such as path, ... IShellLink ... "For every complex problem, there is a solution that is simple, neat, ...
    (microsoft.public.vc.language)