Need ::Invoke using variants only

Everything else that doesn't fall into one of the other PB categories.
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Need ::Invoke using variants only

Post by Edwin Knoppert »

Is there some code to invoke via dispatch (not vtable but dispidmember.
I only need a common invoke part.

GREAT Thanks!
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post 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?
Justin
Addict
Addict
Posts: 956
Joined: Sat Apr 26, 2003 2:49 pm

Post by Justin »

Wich method?, Why not use the vtable?. should be easier, invoke is mostly for scripting languages that can not access the vtable
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post 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)
Justin
Addict
Addict
Posts: 956
Joined: Sat Apr 26, 2003 2:49 pm

Post by Justin »

Post your best attempt at calling the function. Without seeing the code helping is difficult.
Post Reply