Hi all,

I have a component which I have wrapped up as an ActiveX object. One of the events on the component has 4 parameters of type Single. For some reason the values that are surfacing when the ActiveX component is used, are not the same as the values that are being passed on in that event.

I put a message in the TActiveXWrapper descendant that receives the Delphi Control's event and passes it on to the ActiveX dispinterface (generated automatigically by the type library) and the value is correctly received in the wrapper - it must be somewhere in the COM handling of the parameters that they get messed up. The final values are not even jumbled - they are just completely different values.

Any ideas?

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