I notice in the .pas files for M$ Automation objects (Server tab) such as Word etc. that the interfaces return IDispatch.

I can't seem to get my type library to return anything but OleVariant by defining a return parameter of VARIANT *. If I try and set it to the actual dispinterface that *is* returned, I get an error message saying it must return a type of pointer (even when I stick the * on the end of it). Same if I try and set it to IDispatch.

Is there some trick here?

Cheers,
Phil.
begin:vcard
fn:Phil Middlemiss
n:Middlemiss;Phil
org:Vision Software, MTS Ltd
email;internet:[EMAIL PROTECTED]
title:Project Leader
tel;work:+64 7 3480001
tel;cell:+64 27 4592648
x-mozilla-html:TRUE
url:http://www.tumonz.co.nz
version:2.1
end:vcard

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to