Page 1 of 1

Need ::Invoke using variants only

Posted: Thu May 13, 2004 12:41 pm
by Edwin Knoppert
Is there some code to invoke via dispatch (not vtable but dispidmember.
I only need a common invoke part.

GREAT Thanks!

Posted: Mon May 17, 2004 7:42 am
by Edwin Knoppert
The structureviewer shows the webbrowser2 struct but this is a dispatch.
Would like to call it's invoke properly but using a common piece of code.
(A wrapper passing an array of variants)

Anyone?

Posted: Mon May 17, 2004 11:14 am
by Justin
Wich method?, Why not use the vtable?. should be easier, invoke is mostly for scripting languages that can not access the vtable

Posted: Mon May 17, 2004 12:08 pm
by Edwin Knoppert
I want to invoke a function by name.

The parameters are then variants and i'm not to much concerned how to set them (in my case that is)

Posted: Mon May 17, 2004 3:48 pm
by Justin
Post your best attempt at calling the function. Without seeing the code helping is difficult.