News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

msn buddy signed in log to file etc

Started by gavin, August 27, 2005, 02:20:22 PM

Previous topic - Next topic

gavin

Hi guys.

I'm was wondering how would i go about the following.

You know the way icons appear telling you your buddy has signed in to msn messenger.

How would i log to a file who logged in ?

Is their some api's you could tell me about please.

Thank you.

P1

Try the Open Source route.  See how they do it and re-code to MASM from there.

Regards,  P1  :8)

htek

hmm,

i'm not _SURE_ this method would work with the latest msn, but it did with an earlier version of trillian. it takes a  little coding though - just keep scanning for new windows by window name and class name (because it's a window...1!!) and then enumerate the controls on that window, and you'll come across a text thing, and u scan all the text things for "has signed in" - or that's what it was with trillian. i think it won't be too much different on msn...

and then log the entire string to file, or filter out the name...

cheers,


h

PS - maybe use CompareString instead of lstrcmp, because you can specify case insensitive matching :o