Originally posted by: Swayhand
How did you achieve the persitence of the MainFrame? Thank you a million,
yh
ReplyOriginally posted by: Yawar Maajed
Great work, really, I am impressed after I looked at the code. Strong design too. You call yourself "not a good programmer".. get outta here, you _are_ good.
Yawar
Originally posted by: Sohn
Fisttime,just Loging Messeenger, and just Shutdown this program..
It's a little Memory Leack!!!
BOOL CNotifyThread::InitInstance()
{....
CNetSocket *NewSocket = new CNetSocket(Contact);
...
}
AND
void CContactView::NotifyOthers()
{
if (pNotify) return;
pNotify = new CNotifyThread; <- This
pNotify->List = &List
pNotify->mainWnd = mainWnd;
pNotify->view = this;
pNotify->CreateThread();
}
Plz....Modify
but, it's so so so GOOD!! :)
ReplyOriginally posted by: jh_forward
Very Good !I will Take My Source Code On this Site Now!
Originally posted by: Nguyen Thai Son
Great!!!
This source is very interesting, and it is written as a fundametal framework for me.
Big thanks.
Originally posted by: Blue
I just needed a piece of code like this one to learn VC ...
ReplyOriginally posted by: beginner
Good example.
But I think there is a synchronization problem between the main thread and the NotifyThread (race condition). Both operate on the linked list of contacts without a mutex. If you delete a contact in the main thread, it may happen that the Notifythread still try to access that same contact and you get a storage violation (I got it several times on "Contact->GetSock()" - line 42 in CNotifythread).
Reply
Originally posted by: Relence
Thanks, man. I've been wondering how all these interesting things were done. Your codes will be very useful as a learning platform for me (as well as others).
Again, thanks.
ReplyOriginally posted by: rabbit
wow. It's great!!
Reply
Originally posted by: ground-zero
cool!
Reply