Click here to Skip to main content
15,923,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detours and SetWindowsHookEx question Pin
Nitheesh George24-Apr-08 22:47
Nitheesh George24-Apr-08 22:47 
GeneralRe: Detours and SetWindowsHookEx question [modified] Pin
yonghengzhimi24-Apr-08 23:51
yonghengzhimi24-Apr-08 23:51 
GeneralRe: Detours and SetWindowsHookEx question Pin
Nitheesh George29-Apr-08 22:53
Nitheesh George29-Apr-08 22:53 
GeneralRe: Detours and SetWindowsHookEx question Pin
yonghengzhimi27-Apr-08 15:09
yonghengzhimi27-Apr-08 15:09 
GeneralURLDownloadToCacheFile question Pin
monsieur_jj24-Apr-08 21:14
monsieur_jj24-Apr-08 21:14 
GeneralRe: URLDownloadToCacheFile question Pin
David Crow25-Apr-08 3:34
David Crow25-Apr-08 3:34 
GeneralRe: URLDownloadToCacheFile question Pin
monsieur_jj30-Apr-08 15:34
monsieur_jj30-Apr-08 15:34 
GeneralUsing the Insert statement in mfc c++ to database Pin
neo on poltek24-Apr-08 20:24
neo on poltek24-Apr-08 20:24 
I am having problems with INSERTING 'err' value, where the value always change(dinamic).
The error I am getting at runtime is "too few parameters expected 1". This is a part of the inserting program.


float err;
CDatabase db;
CString SqlString;

db.Open("ODBC;DSN=db");

SqlString="INSERT INTO report(ERROR_VALUE,STATUS) VALUES(err,'OK')";//value of 'err' not statis
db.ExecuteSQL( SqlString );

the program will run properly if syntax of inserting like this.

SqlString="INSERT INTO report(ERROR_VALUE,STATUS) VALUES('err','OK')";

but the output not value of "err", but string "err".
anyone can help me???? Frown | :(
GeneralRe: Using the Insert statement in mfc c++ to database Pin
Rajkumar R24-Apr-08 21:05
Rajkumar R24-Apr-08 21:05 
GeneralRe: Using the Insert statement in mfc c++ to database Pin
ShilpiP24-Apr-08 21:07
ShilpiP24-Apr-08 21:07 
GeneralImages in every column of listcontrol Pin
Kiran Pinjala24-Apr-08 20:19
Kiran Pinjala24-Apr-08 20:19 
GeneralRe: Images in every column of listcontrol Pin
Naveen24-Apr-08 21:08
Naveen24-Apr-08 21:08 
GeneralCFileDialog Pin
john563224-Apr-08 19:59
john563224-Apr-08 19:59 
GeneralRe: CFileDialog Pin
Naveen24-Apr-08 20:58
Naveen24-Apr-08 20:58 
GeneralRe: CFileDialog Pin
john563224-Apr-08 21:53
john563224-Apr-08 21:53 
GeneralRe: CFileDialog Pin
Naveen24-Apr-08 23:18
Naveen24-Apr-08 23:18 
GeneralRe: CFileDialog Pin
Hamid_RT24-Apr-08 21:02
Hamid_RT24-Apr-08 21:02 
GeneralRe: CFileDialog Pin
Saurabh.Garg24-Apr-08 22:13
Saurabh.Garg24-Apr-08 22:13 
GeneralRe: CFileDialog Pin
john563224-Apr-08 23:18
john563224-Apr-08 23:18 
GeneralRe: CFileDialog Pin
krmed25-Apr-08 0:42
krmed25-Apr-08 0:42 
GeneralRe: CFileDialog Pin
Saurabh.Garg25-Apr-08 2:25
Saurabh.Garg25-Apr-08 2:25 
GeneralRe: CFileDialog Pin
Saurabh.Garg25-Apr-08 2:22
Saurabh.Garg25-Apr-08 2:22 
GeneralRe: CFileDialog Pin
Saurabh.Garg24-Apr-08 22:27
Saurabh.Garg24-Apr-08 22:27 
GeneralRe: CFileDialog Pin
Nitheesh George24-Apr-08 22:59
Nitheesh George24-Apr-08 22:59 
QuestionRe: CFileDialog Pin
David Crow25-Apr-08 3:39
David Crow25-Apr-08 3:39 

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.