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

C / C++ / MFC

 
AnswerRe: REceive events in serial comms Pin
Roger Stoltz6-Mar-06 1:54
Roger Stoltz6-Mar-06 1:54 
GeneralRe: REceive events in serial comms Pin
Trollslayer6-Mar-06 1:57
mentorTrollslayer6-Mar-06 1:57 
Questionplease read it is importent Pin
baldha rakesh6-Mar-06 0:47
baldha rakesh6-Mar-06 0:47 
AnswerRe: please read it is importent Pin
Christian Graus6-Mar-06 1:03
protectorChristian Graus6-Mar-06 1:03 
Questionproblem using NtQuerySystemInformation Pin
gamitech6-Mar-06 0:19
gamitech6-Mar-06 0:19 
QuestionDirectory Pin
sundar_mca6-Mar-06 0:17
sundar_mca6-Mar-06 0:17 
QuestionRe: Directory Pin
David Crow6-Mar-06 2:48
David Crow6-Mar-06 2:48 
QuestionProblem with SQLSetEnvAttr Pin
Amit j Patil5-Mar-06 23:49
Amit j Patil5-Mar-06 23:49 
Hello EB,
I have following Code snnipet in my Application,

SQLHENV hEnvHandle;
SQLRETURN nRet;

nRet = SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &hEnvHandle);
nRet = SQLSetEnvAttr(hEnvHandle, SQL_ATTR_ODBC_VERSION, (SQLPOINTER) SQL_OV_ODBC3, SQL_IS_INTEGER);

SQLSetEnvAttr return 0 but my Debug Console window show
"First-chance exception in MyApp.exe (KERNEL32.DLL): 0xC0000005: Access Violation."

like this

sr = SQLSetStmtAttr(tempStmt, SQL_ATTR_CURSOR_TYPE, (SQLPOINTER)SQL_CURSOR_DYNAMIC, SQL_IS_INTEGER);
sr = SQLSetStmtAttr(tempStmt, SQL_ATTR_CONCURRENCY , (void *)SQL_CONCUR_LOCK, 0);
APIS also shows this exception.

What might be the cause?
Hope for Reply...
Thanks & Regards
Amit
QuestionDeclare in form1.h causes error Pin
jantimmerman5-Mar-06 23:43
jantimmerman5-Mar-06 23:43 
AnswerRe: Declare in form1.h causes error Pin
Sebastian Schneider5-Mar-06 23:46
Sebastian Schneider5-Mar-06 23:46 
AnswerRe: Declare in form1.h causes error Pin
Ryan Binns5-Mar-06 23:57
Ryan Binns5-Mar-06 23:57 
GeneralRe: Declare in form1.h causes error Pin
jantimmerman6-Mar-06 1:14
jantimmerman6-Mar-06 1:14 
GeneralRe: Declare in form1.h causes error Pin
Ryan Binns6-Mar-06 3:10
Ryan Binns6-Mar-06 3:10 
QuestionVS 2005 manifest file problem. Pin
yourbuddy775-Mar-06 23:39
yourbuddy775-Mar-06 23:39 
QuestionConversion from VS 6.0 to .Net Pin
Neelesh K J Jain5-Mar-06 23:28
Neelesh K J Jain5-Mar-06 23:28 
AnswerRe: Conversion from VS 6.0 to .Net Pin
Nibu babu thomas5-Mar-06 23:36
Nibu babu thomas5-Mar-06 23:36 
AnswerRe: Conversion from VS 6.0 to .Net Pin
Christian Graus6-Mar-06 1:04
protectorChristian Graus6-Mar-06 1:04 
QuestionPower of 2 Pin
RichardS5-Mar-06 23:23
RichardS5-Mar-06 23:23 
Answer[Removed] Pin
toxcct5-Mar-06 23:28
toxcct5-Mar-06 23:28 
GeneralRe: Power of 2 Pin
RichardS5-Mar-06 23:34
RichardS5-Mar-06 23:34 
GeneralRe: Power of 2 Pin
Cedric Moonen5-Mar-06 23:44
Cedric Moonen5-Mar-06 23:44 
GeneralRe: Power of 2 Pin
toxcct5-Mar-06 23:46
toxcct5-Mar-06 23:46 
GeneralRe: Power of 2 Pin
Stephen Hewitt5-Mar-06 23:45
Stephen Hewitt5-Mar-06 23:45 
GeneralRe: Power of 2 Pin
Stephen Hewitt6-Mar-06 2:04
Stephen Hewitt6-Mar-06 2:04 
GeneralRe: Power of 2 Pin
toxcct6-Mar-06 2:06
toxcct6-Mar-06 2:06 

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.