Mayayana,
> It's possible that variable designates a slideshow list.
True. On the other hand, it /should/ throw an error on something it doesn't
recognise/can't use.
And by the way, I just added the displaying of the variable names (which can
be retrieved using ITypeInfo::GetNames). It shows the arguments name as
"bstFileName". And that looks to be indicating a simple single filename.
> Then again,That's the trouble with "self-discoverable COM. It's really
> not. You need docs.
I think it depends on how well the variable names are choosen. And lets not
forget the help strings.
> (Zoom also takes a parameter iSelectCount.)
And in that case its choosen badly. :-|
> Also note, Show takes a variant but ShowFile takes
> a string and long.
I noticed.
> It should work to send the values as
> CStr(x), CLng(y) but it won't work if it's expecting a
> null-delineated string.
As I'm using VBScript to "talk" to it it should be doing all the
conversions. Thats what the typelib is for.
> Have you tried Irfan View? :)
Nope. I've heard of it for quite a number of years now, but for some
reason I never came around to looking at it.
> But that basically just reconstitutes the typelib as an IDL
> file, which is not very easily readable
:-) When I need a typelib I write those IDL files by hand.
Alas, my IDL compiler is Borlands mktypelib, and although when I bought
Tasm32 v5.0 I got some books with it they doesn't really start to explain
how to create such IDL files. Only recently I found out thru the Web that I
do not need to supply the "id(0x??)" parts to the method definitions.
Regards,
Rudy Wieser