hier ga je dan
2 manier om msn te programmeren vanuit delphi:
[1] The MS-preffered way:
-you have to own a copy of the msn-client app which u can download from de msn-site;
-now in delphi, import-type-library, and import the msn.exe and there u have the interfaces of de msn-object-model;
-now just use this as u would in com-programming
for more info about the interfaces: http://msdn.microsoft.com/downloads/.../359/topic.xml (or search msdn for: "msn interfaces")
BUT: still you have the annoying fact that msn is integrated in whole damn win os, and so we go for method 2 (below)
-------------------------------------------------------------------------------
[2] The REAL-way:
This involves some serious tcp-socket programming. U can use the delphi tcp socket component for this purporse.
The msn server architecture consist of three server apps:
- the Dispatch Server - Initial point of connection
(can be found on tcp server "messenger.hotmail.com" on port "1863")
- Notification Server - This is where the entire session is maintained
- Switchboard Server - Gateway between users for chat.
The protocol is textbased so it is not that hard...
have fun...
[greetings from paramaribo-suriname]
BTW: http://www.venkydude.com/articles/msn.htm
(now that won't be a problem for us DELPHI - PEOPLE)
Bookmarks