Posted by
rush on
Dec 02, 2005; 10:29am
URL: https://forum.world.st/type-library-for-IShellFolder2-tp3376630p3376668.html
I am still looking for typelibrary I could use for IShellFolder2, so I tried
to poke around IEnumIDList. I have located typelib for it and AX wizards
generated me a wrapper as a subclass of IUnknown.
Anyway dolphin has IEnumXXX class, and various enum classes seem to inherit
from there so I guess my IEnumIDList should also go there. Those classes
seem to be written by hand, generally only overiding class methods
elementClass and defineFunctions. So probably all I need to do is add a
subclass to IEnumXXX and define those two methods. Do I also need to poke
around class guid? is it ok just to tell it:
IEnumIDList guid: (IID fromString:
'{000214F2-0000-0000-C000-000000000046}' ) "got this magic number from idl."
rush
p.s. I have noticed that only IEnumRect does not have defineFunctions
overided, is that on purpose or omission?
--
http://www.templatetamer.com/http://www.folderscavenger.com/"rush" <
[hidden email]> wrote in message
news:dmmfb7$shs$
[hidden email]...
> Hello,
>
> most of the time, I can get away by not knowing com, but now I would need
> to create a wrapper for IShellFolder2, and probably for some of its
friends
> later. My understanding is that safest route would be to use type library
> and AXTypeLibraryAnalyzer to generate a wrapper. Does anyone have such
type
> library, or advice where to look for one? Also any other advice on
creating
> this wrapper would be more than welcommed by this humble com ignorant ;)
>
> rush
> --
>
http://www.templatetamer.com/>
http://www.folderscavenger.com/>
>