X10 Community Forum

🖥️ActiveHome Pro => ActiveHome Pro General => Wish List => Topic started by: Pawel on September 22, 2005, 04:06:01 PM

Title: Delphi + RecvedAction
Post by: Pawel on September 22, 2005, 04:06:01 PM
Has anyone managed to get the RecevedAction
work in Delphi (7). I can send, but as soon
as I assign the RecevedAction handler, I get
an acess violation error when an action is
recived. I can't trace this because it seems
to happen at the call, and not when it
enters my handler. Can it be that Delphi
can't convert the OleVariant parameters?




XTenPro.OnRecvAction :=RecvedAction;





procedure RecvedAction(ASender: TObject;
bszAction, bszParm1, bszParm2, bszParm3,
bszParm4, bszParm5, bszReserved: OleVariant);

begin
//doesn't even enter here
end;