Click here to Skip to main content
15,867,704 members
Please Sign up or sign in to vote.
4.20/5 (2 votes)
See more:
I am a newbie in MFC C++ and I just want to ask if anyone knows where can I find a sample code application or could any one share a code of an application of Synchronization, Multithreading and socket programming in MFC C++ 2005.

Thanks in advance.
Posted
Updated 3-May-11 18:06pm
v2

There are so many different application of all three types techniques used together, and so many combinations of different techniques, so it's not possible to understand what exactly you need. If you get just one example of the application using Synchronization , Multithreading and socket programming you will probably learn very little.

That said, try to narrow down your search and Google for it. I guess you will find to many samples; but that can give you the idea of the wide spectrum of techniques involved.

—SA
 
Share this answer
 
Comments
aizenel 4-May-11 1:41am    
..thank you hans, i'll try that.. :)
Sergey Alexandrovich Kryukov 4-May-11 2:07am    
Sorry, I'm just curious, "thank you..." who? I don't know this word...
--SA
CPallini 4-May-11 5:38am    
'hans' is probably the uncapitalized version of 'Hans', he was thanking Hans Dietrich, I suppose.
BTW, since I'm not able to deduce your first name from the nick, probably I'll start to call you 'Hans' too. :-D
Joan M 4-May-11 6:40am    
:rolleyes: :-D
Sergey Alexandrovich Kryukov 4-May-11 15:39pm    
My full name's Sergey A Kryukov, many call me SA, even in oral conversation, which is quite appropriate. My full name is not the CodeProject ID, because there is at least one other member with the exact same full name, and few with same last (family) name.
--SA
Try ACE[^]

As you can see from this page:ACE, TAO, and CIAO Success Stories[^], ACE have been used in some fairly serious "real" applications - it also supports working with MFC - and it's well documented, including numerous examples illustrating how to do just about anything you are likely to require when it comes to multithreading, synchronization and socket programming :)

Regards
Espen Harlinn
 
Share this answer
 
Comments
aizenel 4-May-11 5:29am    
..thank you Espen, i'll read that.. :)..
Sergey Alexandrovich Kryukov 9-May-11 21:00pm    
ACE again! Good point, my 5.
--SA
Espen Harlinn 10-May-11 3:01am    
Thank you, SAKryukov!
There are plenty of samples out there...

Of course there are lots of needs in that field also so it all really depends on what you need to achieve...

Take a look at those links:
http://msdn.microsoft.com/en-us/library/975t8ks0(v=vs.80).aspx[^]
Synchronization in Multithreaded Applications with MFC[^]
http://msdn.microsoft.com/en-us/library/ms386065(v=vs.71).aspx[^]
http://msdn.microsoft.com/en-us/library/9szee8tb(v=vs.80).aspx[^]

You'll get valuable info there...

Hope this helps!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900