Click here to Skip to main content
15,905,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Changing registry root from HKELY_CURRENT_USER to HKEY_LOCAL_MACHINE Pin
maycockt19-Mar-10 1:12
maycockt19-Mar-10 1:12 
GeneralRe: Changing registry root from HKELY_CURRENT_USER to HKEY_LOCAL_MACHINE Pin
«_Superman_»19-Mar-10 1:20
professional«_Superman_»19-Mar-10 1:20 
QuestionRemote Debugging with VS2008. Pin
Iain Clarke, Warrior Programmer18-Mar-10 23:06
Iain Clarke, Warrior Programmer18-Mar-10 23:06 
AnswerRe: Remote Debugging with VS2008. Pin
Rajesh R Subramanian18-Mar-10 23:14
professionalRajesh R Subramanian18-Mar-10 23:14 
GeneralRe: Remote Debugging with VS2008. Pin
Iain Clarke, Warrior Programmer18-Mar-10 23:29
Iain Clarke, Warrior Programmer18-Mar-10 23:29 
AnswerRe: Remote Debugging with VS2008. Pin
KarstenK18-Mar-10 23:57
mveKarstenK18-Mar-10 23:57 
GeneralRe: Remote Debugging with VS2008. Pin
Iain Clarke, Warrior Programmer19-Mar-10 0:35
Iain Clarke, Warrior Programmer19-Mar-10 0:35 
Questionmfc application hangs Pin
Abinash Mohanty18-Mar-10 22:34
Abinash Mohanty18-Mar-10 22:34 
AnswerRe: mfc application hangs Pin
Mohan Ramachandra18-Mar-10 22:47
Mohan Ramachandra18-Mar-10 22:47 
GeneralRe: mfc application hangs Pin
Abinash Mohanty18-Mar-10 23:09
Abinash Mohanty18-Mar-10 23:09 
GeneralRe: mfc application hangs Pin
KarstenK19-Mar-10 0:00
mveKarstenK19-Mar-10 0:00 
GeneralRe: mfc application hangs Pin
Abinash Mohanty18-Mar-10 23:30
Abinash Mohanty18-Mar-10 23:30 
AnswerRe: mfc application hangs Pin
Rajesh R Subramanian18-Mar-10 22:55
professionalRajesh R Subramanian18-Mar-10 22:55 
GeneralRe: mfc application hangs Pin
Abinash Mohanty18-Mar-10 23:15
Abinash Mohanty18-Mar-10 23:15 
GeneralRe: mfc application hangs Pin
Emilio Garavaglia19-Mar-10 0:00
Emilio Garavaglia19-Mar-10 0:00 
AnswerRe: mfc application hangs - networking question Pin
Moak19-Mar-10 1:11
Moak19-Mar-10 1:11 
Abinash Mohanty wrote:
application hangs during gethostbyaddr


Hi Abinash! It's a known weakness in MFC's networking classes CAsyncSocket or CSocket, this is what you see when the GUI becomes unresponsive. You would need to implement an asynchronous hostname resolver, otherwise hostname lookups will be blocking everything (they can take quite a while). Btw, if you work with IP-addresses this problem will not occur.

As an alternative use one of the many C++ network classes, in alphabetical order: Alhem, Boost, SharkEngine, QT, and many others.

Hope this helps! Smile | :)
/M

Webchat in Europe Java | [Coffee] Now with 26% more Twitter


Questionlocalizatio issue Pin
Member 59031018-Mar-10 21:57
Member 59031018-Mar-10 21:57 
AnswerRe: localizatio issue Pin
KarstenK18-Mar-10 22:14
mveKarstenK18-Mar-10 22:14 
AnswerRe: localizatio issue Pin
Cool_Dev18-Mar-10 22:14
Cool_Dev18-Mar-10 22:14 
GeneralRe: localizatio issue Pin
Member 59031018-Mar-10 23:20
Member 59031018-Mar-10 23:20 
QuestionInstalling usb device driver Pin
rahul.kulshreshtha18-Mar-10 21:50
rahul.kulshreshtha18-Mar-10 21:50 
QuestionCopying few bits from a string Pin
Vishal Kumar Soni18-Mar-10 21:27
Vishal Kumar Soni18-Mar-10 21:27 
QuestionRe: Copying few bits from a string Pin
CPallini18-Mar-10 21:44
mveCPallini18-Mar-10 21:44 
AnswerRe: Copying few bits from a string Pin
Vishal Kumar Soni18-Mar-10 22:27
Vishal Kumar Soni18-Mar-10 22:27 
GeneralRe: Copying few bits from a string Pin
CPallini18-Mar-10 22:40
mveCPallini18-Mar-10 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.