Click here to Skip to main content
16,004,969 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Custom Build Configuration MFC Pin
prasad_som19-Aug-07 22:42
prasad_som19-Aug-07 22:42 
AnswerRe: Custom Build Configuration MFC Pin
Paresh Chitte19-Aug-07 22:45
Paresh Chitte19-Aug-07 22:45 
AnswerRe: Custom Build Configuration MFC Pin
Karismatic19-Aug-07 22:50
Karismatic19-Aug-07 22:50 
QuestionCreation of DB table at Installation Pin
__yash__19-Aug-07 22:05
professional__yash__19-Aug-07 22:05 
AnswerRe: Creation of DB table at Installation Pin
Hamid_RT20-Aug-07 0:17
Hamid_RT20-Aug-07 0:17 
AnswerRe: Creation of DB table at Installation Pin
David Crow20-Aug-07 2:54
David Crow20-Aug-07 2:54 
GeneralRe: Creation of DB table at Installation Pin
__yash__20-Aug-07 19:12
professional__yash__20-Aug-07 19:12 
GeneralRe: Creation of DB table at Installation Pin
__yash__20-Aug-07 20:59
professional__yash__20-Aug-07 20:59 
Next i tried this:
SQLHENV henv;<br />
SQLHDBC hdbc[10];<br />
SQLAllocEnv(&henv);<br />
SQLAllocConnect(henv,hdbc);<br />
SQLCHAR server[]="Rel";<br />
SQLCHAR uid[]="";<br />
SQLCHAR pwd[]="";<br />
SQLRETURN rc;<br />
rc=SQLConnect(*hdbc,server,SQL_NTS,uid,SQL_NTS,pwd,SQL_NTS);<br />
//I get rc==SQL_SUCCESS_WITH_INFO<br />
<br />
SQLHANDLE hstmt;<br />
SQLHANDLE hconn;		<br />
SQLAllocHandle(SQL_HANDLE_STMT,hdbc,&hstmt);<br />
<br />
SQLCHAR str[]="SELECT dat FROM transact1";<br />
rc=SQLExecDirect(hstmt,str,SQL_NTS);<br />
int i=0;


I m getting the same error on SQLExecDirect() line.
Unhandled exception:Access denied
QuestionRe: Creation of DB table at Installation Pin
David Crow21-Aug-07 2:38
David Crow21-Aug-07 2:38 
AnswerRe: Creation of DB table at Installation Pin
__yash__21-Aug-07 3:04
professional__yash__21-Aug-07 3:04 
AnswerRe: Creation of DB table at Installation Pin
James R. Twine20-Aug-07 3:12
James R. Twine20-Aug-07 3:12 
GeneralRe: Creation of DB table at Installation Pin
Mark Salsbery20-Aug-07 8:25
Mark Salsbery20-Aug-07 8:25 
GeneralRe: Creation of DB table at Installation Pin
__yash__20-Aug-07 19:19
professional__yash__20-Aug-07 19:19 
AnswerRe: Creation of DB table at Installation Pin
__yash__20-Aug-07 22:12
professional__yash__20-Aug-07 22:12 
QuestionParallel port access in Win XP Pin
mirispearl19-Aug-07 21:08
mirispearl19-Aug-07 21:08 
AnswerRe: Parallel port access in Win XP Pin
Iain Clarke, Warrior Programmer20-Aug-07 0:27
Iain Clarke, Warrior Programmer20-Aug-07 0:27 
AnswerRe: Parallel port access in Win XP Pin
kakan20-Aug-07 0:31
professionalkakan20-Aug-07 0:31 
GeneralRe: Parallel port access in Win XP Pin
mirispearl3-Sep-07 0:25
mirispearl3-Sep-07 0:25 
GeneralRe: Parallel port access in Win XP Pin
kakan3-Sep-07 0:31
professionalkakan3-Sep-07 0:31 
QuestionMSMQ Pin
abhiramsss19-Aug-07 20:57
abhiramsss19-Aug-07 20:57 
AnswerRe: MSMQ Pin
Hamid_RT19-Aug-07 21:53
Hamid_RT19-Aug-07 21:53 
QuestionRe: MSMQ Pin
David Crow20-Aug-07 2:51
David Crow20-Aug-07 2:51 
QuestionGet problem with FindWindow(). Pls help! [modified] Pin
aluisdo19-Aug-07 20:31
aluisdo19-Aug-07 20:31 
QuestionRe: Get problem with FindWindow(). Pls help! Pin
prasad_som19-Aug-07 21:38
prasad_som19-Aug-07 21:38 
AnswerRe: Get problem with FindWindow(). Pls help! Pin
aluisdo20-Aug-07 1:46
aluisdo20-Aug-07 1:46 

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.