Page 4 of 4
Posted: Sun Nov 26, 2006 12:38 pm
by lexvictory
well, i've started to do some coding of PureMessenger
but so far it only has support for MSN, and to add other protocols will need some modification....
currently it can:
- log in (using MSNP8 - same as windows messenger)
- show contact list - with all statuses
- update contact list when user changes status/display name
- change logged on user's status
- change logged on user's display name
- pressing enter/return in some stringgadgets pushes a button
- respond to msn's challenges
currently it can NOT:
- show whether a user is blocked
- start a convo with anyone
- nothing else
what i need:
- someone to help with the gui - especially the contact list
- possibly someone to help/do other protocols
-
someone to test this using dialup - its only tested on my 512/128 dsl
damn telstra wholesale
- feedback
you can download it from the sourceforge page
here
Posted: Sun Nov 26, 2006 1:03 pm
by lexvictory
after line 42 in 'returnkeys stuff.pb' add
Code: Select all
Else
retval = CallFunctionFast(GetWindowLong_(hwnd, #GWL_USERDATA), hwnd, message, wparam, lparam)
soz, im used to using hooks to do the returnkeys stuff.....
Posted: Wed Nov 29, 2006 9:30 am
by lexvictory
well, im releasing it again because some people downloaded it, but didnt comment on it....
i fixed the bug with the subclassing procedure, it can now show if a contact is blocked, items on the file menu work, better support for dialup (i found a utility to help with testing), it retrieves display name better - not thinking that the crlf is part of the name...
also, if you create a file in the source's folder with filename as 'account.txt', and put your msn username on the first line and password on the second line, the program will pick them up and automaticaly fill them into the login box.
download at
http://sourceforge.net/project/showfile ... _id=173263 (choose the 29.11.06 release)
the main source code file is msn client - threaded.pb
i would like even 1 person to give feedback on this...
and if u r interested in helping with this project, contact me, by email or here in this topic...
Posted: Sat Dec 02, 2006 3:20 am
by Joakim Christiansen
I can't compile it using PB4.1, MakeLong() wasn't found...
Posted: Sat Dec 02, 2006 4:09 am
by CadeX
Confirmed.
4.0 cannot find that function either.
Posted: Sat Dec 02, 2006 5:35 am
by lexvictory
oops, thats part of droopy's lib...
http://purebasic.fr/english/viewtopic.php?t=24709
if u dont want to use that, heres the code behind it:
Code: Select all
Procedure MakeLong(HiWord,LoWord)
param & $FFFF + LoWord
param + HiWord << 16
ProcedureReturn param
EndProcedure
Procedure GetLoWord(Long) ;included just in case
ProcedureReturn Long & $FFFF
EndProcedure
Procedure GetHiWord(Long) ;included just in case
ProcedureReturn Long >> 16 & $0000FFFF
EndProcedure
Posted: Sat Dec 02, 2006 12:33 pm
by Num3
Sorry, but it doesn't run properly, with debugger enabled!
Upsss...
Has anyone noticed debugger doesn't work with ThreadSafe enabled !?
Posted: Sat Dec 02, 2006 1:02 pm
by lexvictory
works perfectly fine for me.....
Posted: Sat Dec 02, 2006 1:12 pm
by lexvictory

image is a bit shoddy, but i wasnt being too careful with the blur tool....

Posted: Wed Jun 18, 2008 8:08 pm
by BigB0ss
I know its 2 years ago but does anyone still have the PB Source?
I'm really interested in this...
Posted: Thu Jun 19, 2008 9:00 am
by lexvictory
BigB0ss wrote:I know its 2 years ago but does anyone still have the PB Source?
I'm really interested in this...
this thread is old, see
http://www.purebasic.fr/english/viewtopic.php?t=32655