FANTASTIC!!!!Thanks, Mike.
>>With the new third parameter of the CreateobjectEx function used to specify an interface, is VFP still going to be limited to COM objects that inherit from IDispatch?
>
>Nope, give a IID and you've got a reference to a non-IDispatch interface. GetObject() can do that for you, too, if you pass it an IDispatch object reference, and then specify which interface you want.
>
>> Or will the early-binding that takes place alleviate that?
>
>This is correct.
>
>>An example would be the ADsDSOObject. It does not support the IDispatch interface; however, I would like to use it in VFP. Could I create an instance of this specifying something like the IDBCreateSession or IDBInitialize interface?
>
>You
should be able to. My current install on my home box is kind of, err, broken right now, so I'll have to wait until I get to work to check and be certain.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao