Communicating with Addin from external program

Add-in Express™ Support Service
That's what is more important than anything else

Communicating with Addin from external program
 
Phillippe Allen




Posts: 30
Joined: 2005-11-07
I have just started looking at your ADdin program and was wondering how can I send data to it from an external program. for example, if I have the following;

TMyTest = class(TadxAddin, IMyTest)
private

protected
function Get_AdvisorCode: PChar; safecall;
procedure Set_AdvisorCode(Value: PChar); safecall;
public
property AdvisorCode: PChar read Get_AdvisorCode write Set_AdvisorCode;
end;

TAddInModule = class(TadxCOMAddInModule)
private
FAdvisorCode : string;
end;

How can I set AdvisorCode from another app (called MySendingApp)

As you can tell, I am also a newbie to COM.

Regards
Phil
Posted 07 Nov, 2005 22:47:43 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Phil,

I think I'd better create an example for you. It will be ready in a couple of hours.

Posted 08 Nov, 2005 07:21:44 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Posted 08 Nov, 2005 08:07:08 Top
Phillippe Allen




Posts: 30
Joined: 2005-11-07
Dmitry

Thanks for that. It has certainly given me some ideas of where to go.


Posted 08 Nov, 2005 17:17:10 Top