Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: i'm sure someone knows the answer to this... Pin
Igor Sukhov27-Jun-01 6:49
Igor Sukhov27-Jun-01 6:49 
GeneralRe: i'm sure someone knows the answer to this... Pin
27-Jun-01 1:19
suss27-Jun-01 1:19 
GeneralQuestion About IWebBrowser2 Pin
Hushpappy26-Jun-01 22:30
Hushpappy26-Jun-01 22:30 
GeneralProblem with Threads Pin
yamini26-Jun-01 22:23
yamini26-Jun-01 22:23 
GeneralRe: Problem with Threads Pin
Hushpappy26-Jun-01 22:33
Hushpappy26-Jun-01 22:33 
GeneralRe: Problem with Threads Pin
yamini26-Jun-01 22:51
yamini26-Jun-01 22:51 
GeneralRe: Problem with Threads Pin
Bob Groves27-Jun-01 1:37
Bob Groves27-Jun-01 1:37 
GeneralRe: Problem with Threads Pin
Joe Moldovan27-Jun-01 8:32
Joe Moldovan27-Jun-01 8:32 
Without knowing all of the facts here is my guess:

This sounds like a classic "race" condition. The database record lock and your writes in the threads collide with each other. To prove if this is the case try adding three different, long delays to the threads (e.g. Sleep( 100 ), Sleep( 200 ), Sleep( 300 ). If this works, your database and interface is OK and you have a timing problem. You must synchronise the writes or retry on error.

Have Fun!!!

GeneralView in a Dialog window Pin
26-Jun-01 21:19
suss26-Jun-01 21:19 
GeneralRe: View in a Dialog window Pin
Michael P Butler26-Jun-01 22:29
Michael P Butler26-Jun-01 22:29 
GeneralRe: View in a Dialog window Pin
27-Jun-01 21:47
suss27-Jun-01 21:47 
GeneralRe: View in a Dialog window Pin
Michael P Butler27-Jun-01 22:23
Michael P Butler27-Jun-01 22:23 
GeneralAh, pointers... Pin
Shankar Chandra Bose26-Jun-01 20:05
Shankar Chandra Bose26-Jun-01 20:05 
GeneralRe: Ah, pointers... Pin
Michael Dunn26-Jun-01 21:28
sitebuilderMichael Dunn26-Jun-01 21:28 
GeneralRe: Ah, pointers... Pin
Shankar Chandra Bose26-Jun-01 21:48
Shankar Chandra Bose26-Jun-01 21:48 
QuestionWhy?? Pin
26-Jun-01 18:23
suss26-Jun-01 18:23 
AnswerRe: Why?? Pin
Frank Liao26-Jun-01 19:00
Frank Liao26-Jun-01 19:00 
GeneralRe: Why?? Pin
26-Jun-01 20:14
suss26-Jun-01 20:14 
GeneralRe: Why?? Pin
Michael Dunn26-Jun-01 21:32
sitebuilderMichael Dunn26-Jun-01 21:32 
GeneralRe: Why?? Pin
Frank Liao27-Jun-01 3:42
Frank Liao27-Jun-01 3:42 
AnswerRe: Why?? Pin
Rejeesh27-Jun-01 4:11
Rejeesh27-Jun-01 4:11 
QuestionHow Can convert BSTR to LPCSTR OR vice versa! Pin
bluestn26-Jun-01 17:10
bluestn26-Jun-01 17:10 
AnswerRe: How Can convert BSTR to LPCSTR OR vice versa! Pin
Christian Graus26-Jun-01 17:14
protectorChristian Graus26-Jun-01 17:14 
GeneralRe: How Can convert BSTR to LPCSTR OR vice versa! Pin
Venkat Raghavan26-Jun-01 17:28
Venkat Raghavan26-Jun-01 17:28 
AnswerRe: How Can convert BSTR to LPCSTR OR vice versa! Pin
Erik Thompson26-Jun-01 18:29
sitebuilderErik Thompson26-Jun-01 18:29 

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.