Click here to Skip to main content
15,936,395 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to insert data in sqlserver 2005 using vc++6.0 Pin
CPallini2-Nov-09 23:15
mveCPallini2-Nov-09 23:15 
QuestionMaking an Application Hang. Pin
Hari_162-Nov-09 22:52
Hari_162-Nov-09 22:52 
AnswerRe: Making an Application Hang. Pin
CPallini2-Nov-09 22:57
mveCPallini2-Nov-09 22:57 
GeneralRe: Making an Application Hang. Pin
Hari_162-Nov-09 23:01
Hari_162-Nov-09 23:01 
GeneralRe: Making an Application Hang. Pin
Adam Roderick J2-Nov-09 23:06
Adam Roderick J2-Nov-09 23:06 
GeneralRe: Making an Application Hang. Pin
Hari_162-Nov-09 23:12
Hari_162-Nov-09 23:12 
GeneralRe: Making an Application Hang. Pin
Adam Roderick J2-Nov-09 23:47
Adam Roderick J2-Nov-09 23:47 
GeneralRe: Making an Application Hang. Pin
Rajesh R Subramanian2-Nov-09 23:58
professionalRajesh R Subramanian2-Nov-09 23:58 
If you do not use a critical section, that won't make your application "hang". You'll possibly lose out on data corruption due to race condition, but the threads will continue to execute and at worst you'll take a nasty crash (like an access fault).

But a using or not using a critical section won't have anything to do with a "hang", unless a thread is being a dog and locking a resource (for a long time) that the UI thread is waiting for. But that boils down to my other reply that I've posted to your original query.


“Follow your bliss.” – Joseph Campbell

GeneralRe: Making an Application Hang. [modified] Pin
CPallini2-Nov-09 23:17
mveCPallini2-Nov-09 23:17 
GeneralRe: Making an Application Hang. Pin
Hari_162-Nov-09 23:56
Hari_162-Nov-09 23:56 
JokeRe: Making an Application Hang. Pin
PrafullaShirke272-Nov-09 22:57
professionalPrafullaShirke272-Nov-09 22:57 
GeneralRe: Making an Application Hang. Pin
Hari_162-Nov-09 22:59
Hari_162-Nov-09 22:59 
AnswerRe: Making an Application Hang. Pin
Rajesh R Subramanian2-Nov-09 23:47
professionalRajesh R Subramanian2-Nov-09 23:47 
GeneralRe: Making an Application Hang. Pin
Hari_162-Nov-09 23:58
Hari_162-Nov-09 23:58 
AnswerRe: Making an Application Hang. Pin
Randor 3-Nov-09 5:21
professional Randor 3-Nov-09 5:21 
GeneralRe: Making an Application Hang. Pin
Hari_163-Nov-09 18:14
Hari_163-Nov-09 18:14 
QuestionDirect3D (DXUT) Problem Pin
Ali Tavakol2-Nov-09 22:37
Ali Tavakol2-Nov-09 22:37 
QuestionChange background color of combo box's dropdown list. Pin
Member 38346302-Nov-09 22:00
Member 38346302-Nov-09 22:00 
AnswerRe: Change background color of combo box's dropdown list. Pin
PrafullaShirke272-Nov-09 22:30
professionalPrafullaShirke272-Nov-09 22:30 
GeneralRe: Change background color of combo box's dropdown list. Pin
Member 38346302-Nov-09 22:44
Member 38346302-Nov-09 22:44 
GeneralRe: Change background color of combo box's dropdown list. Pin
PrafullaShirke272-Nov-09 22:55
professionalPrafullaShirke272-Nov-09 22:55 
QuestionNot Recieving Message Notification Pin
002comp2-Nov-09 21:42
002comp2-Nov-09 21:42 
AnswerRe: Not Recieving Message Notification Pin
Richard MacCutchan2-Nov-09 21:58
mveRichard MacCutchan2-Nov-09 21:58 
GeneralRe: Not Recieving Message Notification Pin
002comp2-Nov-09 22:04
002comp2-Nov-09 22:04 
GeneralRe: Not Recieving Message Notification Pin
002comp2-Nov-09 22:35
002comp2-Nov-09 22:35 

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.