Delphi + RecvedAction

Started by Pawel, September 22, 2005, 04:06:01 PM

Previous topic - Next topic

Pawel

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;

SMF spam blocked by CleanTalk