Kamis, 29 Mei 2008

Perbaiki List Migpro







PADA FUNCTION RECEIVE(SOURCE CODE ORISINAL MIGPRO) ...TERDAPAT...


.if eax==0
invoke recv,ssock,addr loginSr,rcsize,0

mov esi,offset loginSr
mov edi,offset stringTagBuff


add esi, 0Fh
xor eax,eax
mov ax,[esi-2]
invoke htons ,eax

mov ecx,eax
rep movsb


invoke SetDlgItemText,hwwnd,TEXT_MAIN,addr stringTagBuff
.endif



GANTI DENGAN....

.if eax==0
invoke recv,ssock,addr loginSr,rcsize,0

mov esi,offset loginSr
mov edi,offset stringTagBuff

invoke GetPrivateProfileString,addr khead,addr chatroom,addr szNull,addr KCname,sizeof KCname,addr CurrentDir
xor eax,eax
invoke lstrlen,addr KCname
add eax,eax
add eax,1bh
add esi,eax

xor eax,eax
mov ax,[esi-2]
invoke htons ,eax

mov ecx,eax
rep movsb


invoke SetDlgItemText,hwwnd,TEXT_MAIN,addr stringTagBuff
.endif

Selamat mencoba...... :v

Tidak ada komentar:

Template by : inbox2008.blogspot.com
Free Software