Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Feb : MsgrObject and Delphi

www.cryer.info
Managed Newsgroup Archive

MsgrObject and Delphi

Subject:MsgrObject and Delphi
Posted by:"HAROUCHE, David" (metan..@hotmail.com)
Date:Mon, 18 Feb 2008 01:33:15

Could anyone tell me what is the wrong here :

var _session :IMSGRIMSession;

begin
     _to := 'metanil@hotmail.com';
<-- ok
     _session := self.MSNMessenger1.CreateIMSession(_to);
<-- ok

     _session.SendText('hello (header)', 'hello world !',
MMSGTYPE_ALL_RESULTS);                 <-- Runtime error : Wrong parameter
end;

DH

Replies:

www.cryer.info
Managed Newsgroup Archive