Click to See Complete Forum and Search --> : COM MFC VB Setting Properties


AdoKa
May 12th, 1999, 07:20 AM
I have a LPDISPATCH in my OLE-server to an object in VB. It's setting via an Property Set/Get function.
Now I want to change some of the objects properties, but I don't know how to use

the LPDISPATCH to manipulate the objects Properties and how to call methods of this.

Where can I find a simple sample for this?

10x for all answers

Adolf :-)

chris law
May 12th, 1999, 09:00 AM
only a thought:
do you have a type library for that object? You could read it with MSDEV and create wrapper class automatically :-)
otherwise you would have to go through invoke, maybe. I would not quite like that...

good luck

chrislaw

AdoKa
May 12th, 1999, 09:13 AM
I dont have a type library.
I'll try invoke!