Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Exception Handling in C++ Pin
Stephen Hewitt1-Jul-10 17:59
Stephen Hewitt1-Jul-10 17:59 
GeneralRe: Exception Handling in C++ Pin
theCPkid1-Jul-10 19:03
theCPkid1-Jul-10 19:03 
GeneralRe: Exception Handling in C++ Pin
Stephen Hewitt1-Jul-10 19:38
Stephen Hewitt1-Jul-10 19:38 
GeneralRe: Exception Handling in C++ Pin
Aescleal29-Jun-10 7:01
Aescleal29-Jun-10 7:01 
GeneralRe: Exception Handling in C++ Pin
Stephen Hewitt1-Jul-10 14:17
Stephen Hewitt1-Jul-10 14:17 
GeneralRe: Exception Handling in C++ Pin
theCPkid1-Jul-10 19:06
theCPkid1-Jul-10 19:06 
AnswerRe: Exception Handling in C++ [modified] Pin
theCPkid29-Jun-10 3:11
theCPkid29-Jun-10 3:11 
QuestionCRecordset old data problem Pin
eyalle23-Jun-10 0:29
eyalle23-Jun-10 0:29 
Hello all
I've implemented a class dervied from CRecordset.
this class gets the DB and sql query and retrives data.
everything was working fine, untill i've decided to delete the data directly from the DB.
when i'm running the same code, the class retrives the same data, although the data is erased.
what's the problem ??

CSpecificGraphsRS rsSpeGraphs(&m_db);
    strQuery.Format("SELECT * FROM GRAPHS ORDER BY GRAPH_ID"); //empty result query
rsSpeGraphs.Open(CRecordset::snapshot, strQuery, CRecordset::none);
while (!rsSpeGraphs.IsEOF())
{
           //gets in this while although the query is empty in DB
           //but actually the value is passed
          //seems like it keeps it somewhere in the memory
      genGraphDisplay.strGraphId = rsSpeGraphs.m_GRAPH_ID;
    }

AnswerRe: CRecordset old data problem Pin
loyal ginger23-Jun-10 1:52
loyal ginger23-Jun-10 1:52 
GeneralRe: CRecordset old data problem Pin
eyalle23-Jun-10 2:14
eyalle23-Jun-10 2:14 
QuestionRe: CRecordset old data problem Pin
David Crow23-Jun-10 3:48
David Crow23-Jun-10 3:48 
QuestionPure virtual destructor ? Pin
krishna_CP23-Jun-10 0:17
krishna_CP23-Jun-10 0:17 
AnswerRe: Pure virtual destructor ? Pin
CPallini23-Jun-10 0:40
mveCPallini23-Jun-10 0:40 
AnswerRe: Pure virtual destructor ? Pin
Chris Losinger23-Jun-10 1:30
professionalChris Losinger23-Jun-10 1:30 
AnswerRe: Pure virtual destructor ? Pin
Aescleal23-Jun-10 6:52
Aescleal23-Jun-10 6:52 
QuestionMainframe loses focus with modeless dialogs in MFC application Pin
David Ayllon23-Jun-10 0:06
David Ayllon23-Jun-10 0:06 
AnswerRe: Mainframe loses focus with modeless dialogs in MFC application Pin
Richard MacCutchan23-Jun-10 3:05
mveRichard MacCutchan23-Jun-10 3:05 
GeneralRe: Mainframe loses focus with modeless dialogs in MFC application Pin
manchukuo23-Jun-10 16:31
manchukuo23-Jun-10 16:31 
GeneralRe: Mainframe loses focus with modeless dialogs in MFC application Pin
Richard MacCutchan23-Jun-10 21:45
mveRichard MacCutchan23-Jun-10 21:45 
QuestionRe: Mainframe loses focus with modeless dialogs in MFC application Pin
David Ayllon23-Jun-10 23:46
David Ayllon23-Jun-10 23:46 
Questionthreads Pin
jt_snjy0722-Jun-10 23:42
jt_snjy0722-Jun-10 23:42 
AnswerRe: threads Pin
CPallini22-Jun-10 23:55
mveCPallini22-Jun-10 23:55 
AnswerRe: threads Pin
«_Superman_»23-Jun-10 0:09
professional«_Superman_»23-Jun-10 0:09 
AnswerRe: threads Pin
El Corazon23-Jun-10 6:36
El Corazon23-Jun-10 6:36 
AnswerRe: threads Pin
Aescleal23-Jun-10 6:50
Aescleal23-Jun-10 6:50 

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.