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.
Try the Open Source route. See how they do it and re-code to MASM from there.
Regards, P1 :8)
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