Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: c++ UserInterface Pin
Signal-926-Sep-07 15:16
Signal-926-Sep-07 15:16 
QuestionMultiple access to MS SQL Database Pin
__yash__23-Sep-07 22:57
professional__yash__23-Sep-07 22:57 
hi,
I have six functions in my MFC application which internally call the function AddNew() to add a new row in the database. And then Update() and Requery() after finishing with one row.
Could this cause a problem when more than one function calls AddNew() at the same time? Same with Update() and Requery()?

function1()<br />
{<br />
//Add a new row into the database<br />
ptr->AddNew();<br />
//Then insert values into the specific columns<br />
//Then...<br />
ptr->Update();<br />
ptr->Requery();<br />
}


What issues could arise because of this kind of a structure??
QuestionRe: Multiple access to MS SQL Database Pin
Mark Salsbery24-Sep-07 7:33
Mark Salsbery24-Sep-07 7:33 
AnswerRe: Multiple access to MS SQL Database Pin
__yash__24-Sep-07 20:35
professional__yash__24-Sep-07 20:35 
GeneralRe: Multiple access to MS SQL Database Pin
Mark Salsbery25-Sep-07 5:40
Mark Salsbery25-Sep-07 5:40 
GeneralRe: Multiple access to MS SQL Database Pin
__yash__25-Sep-07 18:53
professional__yash__25-Sep-07 18:53 
QuestionHow to run an exe file. Pin
Exelioindia23-Sep-07 22:52
Exelioindia23-Sep-07 22:52 
AnswerRe: How to run an exe file. Pin
_AnsHUMAN_ 23-Sep-07 22:55
_AnsHUMAN_ 23-Sep-07 22:55 
GeneralRe: How to run an exe file. [modified] Pin
Exelioindia23-Sep-07 23:44
Exelioindia23-Sep-07 23:44 
AnswerRe: How to run an exe file. Pin
nbugalia23-Sep-07 22:56
nbugalia23-Sep-07 22:56 
GeneralRe: How to run an exe file. Pin
Exelioindia23-Sep-07 23:44
Exelioindia23-Sep-07 23:44 
GeneralRe: How to run an exe file. Pin
nbugalia24-Sep-07 0:03
nbugalia24-Sep-07 0:03 
GeneralRe: How to run an exe file. Pin
Exelioindia24-Sep-07 0:05
Exelioindia24-Sep-07 0:05 
GeneralRe: How to run an exe file. Pin
nbugalia24-Sep-07 0:10
nbugalia24-Sep-07 0:10 
GeneralRe: How to run an exe file. [modified] Pin
Exelioindia24-Sep-07 0:22
Exelioindia24-Sep-07 0:22 
GeneralRe: How to run an exe file. Pin
David Crow24-Sep-07 3:14
David Crow24-Sep-07 3:14 
AnswerRe: How to run an exe file. Pin
David Crow24-Sep-07 3:13
David Crow24-Sep-07 3:13 
Questiontry-catch handling Pin
Mary Chennai23-Sep-07 22:41
Mary Chennai23-Sep-07 22:41 
AnswerRe: try-catch handling Pin
Russell'23-Sep-07 23:08
Russell'23-Sep-07 23:08 
AnswerRe: try-catch handling [modified] Pin
nbugalia23-Sep-07 23:29
nbugalia23-Sep-07 23:29 
GeneralRe: try-catch handling Pin
Signal-926-Sep-07 15:18
Signal-926-Sep-07 15:18 
QuestionProblem by resizing CFormView derived class Pin
Nelek23-Sep-07 22:31
protectorNelek23-Sep-07 22:31 
AnswerA Bypass founded, but still curious Pin
Nelek23-Sep-07 23:12
protectorNelek23-Sep-07 23:12 
Questioncant open d3d9.h file Pin
vasu_ever23-Sep-07 21:56
professionalvasu_ever23-Sep-07 21:56 
AnswerRe: cant open d3d9.h file Pin
Cedric Moonen23-Sep-07 22:02
Cedric Moonen23-Sep-07 22:02 

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.