Click here to Skip to main content
16,011,868 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionerror in Access DB "Attempt to Update or Delete failed." and "Recordset is read-only" Pin
Le@rner11-Jun-08 21:04
Le@rner11-Jun-08 21:04 
AnswerRe: error in Access DB "Attempt to Update or Delete failed." and "Recordset is read-only" Pin
Joseph Marzbani11-Jun-08 23:06
Joseph Marzbani11-Jun-08 23:06 
GeneralRe: error in Access DB "Attempt to Update or Delete failed." and "Recordset is read-only" Pin
Le@rner11-Jun-08 23:41
Le@rner11-Jun-08 23:41 
AnswerRe: error in Access DB "Attempt to Update or Delete failed." and "Recordset is read-only" Pin
David Crow12-Jun-08 4:23
David Crow12-Jun-08 4:23 
QuestionDoubt in Serial communication Pin
kuttiam11-Jun-08 19:47
kuttiam11-Jun-08 19:47 
AnswerRe: Doubt in Serial communication Pin
Cedric Moonen11-Jun-08 20:44
Cedric Moonen11-Jun-08 20:44 
GeneralRe: Doubt in Serial communication Pin
kuttiam11-Jun-08 21:22
kuttiam11-Jun-08 21:22 
GeneralRe: Doubt in Serial communication Pin
Cedric Moonen11-Jun-08 21:42
Cedric Moonen11-Jun-08 21:42 
No, your application won't be blocked but you can't wait for other events in the same thread.
Another point I made: by using overlapped IO, you will in general wait for the event to be signaled (so the read operation to finish for example). To do that, you will block the thread which is calling WaitForSingleObject. So, in general, even when I use overlapped IO I handle that in a separate thread. The difference, as I said before, is that you can wait for multiple events to happen instead of just one. For example you could be reading two serial ports in the same thread.

Cédric Moonen
Software developer

Charting control [v1.4]

AnswerRe: Doubt in Serial communication Pin
buntyrolln12-Jun-08 2:09
buntyrolln12-Jun-08 2:09 
AnswerRe: Doubt in Serial communication Pin
buntyrolln12-Jun-08 2:17
buntyrolln12-Jun-08 2:17 
QuestionHow can get Index of Current Save Record in Access Database? Pin
Le@rner11-Jun-08 19:21
Le@rner11-Jun-08 19:21 
AnswerRe: How can get Index of Current Save Record in Access Database? Pin
David Crow12-Jun-08 4:25
David Crow12-Jun-08 4:25 
AnswerCP IGNORE Pin
leckey12-Jun-08 17:44
leckey12-Jun-08 17:44 
QuestionUse of Keyboard on ListCtrl. Pin
Le@rner11-Jun-08 19:14
Le@rner11-Jun-08 19:14 
AnswerRe: Use of Keyboard on ListCtrl. Pin
Naveen11-Jun-08 19:42
Naveen11-Jun-08 19:42 
GeneralRe: Use of Keyboard on ListCtrl. Pin
Le@rner11-Jun-08 20:03
Le@rner11-Jun-08 20:03 
GeneralRe: Use of Keyboard on ListCtrl. Pin
Naveen11-Jun-08 20:15
Naveen11-Jun-08 20:15 
GeneralRe: Use of Keyboard on ListCtrl. Pin
Le@rner11-Jun-08 20:38
Le@rner11-Jun-08 20:38 
QuestionHow can get roundoff value? Pin
Le@rner11-Jun-08 18:23
Le@rner11-Jun-08 18:23 
AnswerRe: How can get roundoff value? Pin
_AnsHUMAN_ 11-Jun-08 18:45
_AnsHUMAN_ 11-Jun-08 18:45 
GeneralRe: How can get roundoff value? Pin
Le@rner11-Jun-08 18:53
Le@rner11-Jun-08 18:53 
AnswerRe: How can get roundoff value? [modified] Pin
Rajesh R Subramanian11-Jun-08 19:03
professionalRajesh R Subramanian11-Jun-08 19:03 
GeneralRe: How can get roundoff value? Pin
Saurabh.Garg11-Jun-08 19:12
Saurabh.Garg11-Jun-08 19:12 
GeneralRe: How can get roundoff value? Pin
Rajesh R Subramanian11-Jun-08 21:47
professionalRajesh R Subramanian11-Jun-08 21:47 
GeneralRe: How can get roundoff value? Pin
Saurabh.Garg11-Jun-08 21:48
Saurabh.Garg11-Jun-08 21:48 

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.