Click here to Skip to main content
15,893,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dynamic Created CEdit using CreateEx Pin
Victor Nijegorodov20-May-20 6:42
Victor Nijegorodov20-May-20 6:42 
QuestionC++ Pin
Member 1461181419-May-20 5:46
Member 1461181419-May-20 5:46 
AnswerRe: C++ Pin
Greg Utas19-May-20 6:08
professionalGreg Utas19-May-20 6:08 
GeneralRe: C++ Pin
Richard MacCutchan19-May-20 6:13
mveRichard MacCutchan19-May-20 6:13 
AnswerRe: C++ Pin
CPallini19-May-20 20:50
mveCPallini19-May-20 20:50 
GeneralRe: C++ Pin
charlieg20-May-20 2:13
charlieg20-May-20 2:13 
GeneralRe: C++ Pin
CPallini20-May-20 2:16
mveCPallini20-May-20 2:16 
GeneralRe: C++ Pin
charlieg20-May-20 2:23
charlieg20-May-20 2:23 
GeneralRe: C++ Pin
CPallini20-May-20 3:48
mveCPallini20-May-20 3:48 
GeneralRe: C++ Pin
charlieg20-May-20 4:46
charlieg20-May-20 4:46 
GeneralRe: C++ Pin
CPallini20-May-20 4:59
mveCPallini20-May-20 4:59 
GeneralRe: C++ Pin
charlieg20-May-20 6:35
charlieg20-May-20 6:35 
QuestionC++ Pin
Member 1461181419-May-20 4:18
Member 1461181419-May-20 4:18 
AnswerRe: C++ Pin
Richard MacCutchan19-May-20 4:20
mveRichard MacCutchan19-May-20 4:20 
GeneralRe: C++ Pin
k505419-May-20 4:45
mvek505419-May-20 4:45 
GeneralRe: C++ Pin
Richard MacCutchan19-May-20 5:01
mveRichard MacCutchan19-May-20 5:01 
GeneralRe: C++ Pin
Member 1461181419-May-20 5:36
Member 1461181419-May-20 5:36 
GeneralRe: C++ Pin
Richard MacCutchan19-May-20 6:12
mveRichard MacCutchan19-May-20 6:12 
GeneralRe: C++ Pin
markkuk19-May-20 19:24
markkuk19-May-20 19:24 
QuestionOld guy question - VS2008 Professional and it's help system - why is it so f'd up? Pin
charlieg18-May-20 13:05
charlieg18-May-20 13:05 
AnswerRe: Old guy question - VS2008 Professional and it's help system - why is it so f'd up? Pin
Victor Nijegorodov18-May-20 21:05
Victor Nijegorodov18-May-20 21:05 
GeneralRe: Old guy question - VS2008 Professional and it's help system - why is it so f'd up? Pin
charlieg20-May-20 2:24
charlieg20-May-20 2:24 
QuestionC++ DB : SQLServer : SQLExecute - Insert statement returning Error -2 Pin
SureshBL18-May-20 12:00
SureshBL18-May-20 12:00 
AnswerRe: C++ DB : SQLServer : SQLExecute - Insert statement returning Error -2 Pin
Victor Nijegorodov18-May-20 21:01
Victor Nijegorodov18-May-20 21:01 
GeneralRe: C++ DB : SQLServer : SQLExecute - Insert statement returning Error -2 Pin
SureshBL19-May-20 3:02
SureshBL19-May-20 3:02 
Hi Victor, Thanks for your response.

As you can see in the code, I have already used SQLGetDiagRec.
ret = SQLGetDiagRec(SQL_HANDLE_STMT, stmt, 1, sql_state, &native_error, message, sizeof(message), &msg_len)


But even that is returning -2 and not giving any other details, hence I commented it. Am I missing anything? How can I get more details from ret object apart from -2.

Regards,
Suresh

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.