Click here to Skip to main content
15,906,097 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dumb Question Pin
Ghazi H. Wadi3-Jul-01 10:53
Ghazi H. Wadi3-Jul-01 10:53 
GeneralRe: Dumb Question Pin
3-Jul-01 21:16
suss3-Jul-01 21:16 
QuestionSend information from a MFC to another MFC??? Pin
3-Jul-01 4:57
suss3-Jul-01 4:57 
AnswerRe: Send information from a MFC to another MFC??? Pin
3-Jul-01 5:19
suss3-Jul-01 5:19 
GeneralRe: Send information from a MFC to another MFC??? Pin
3-Jul-01 5:44
suss3-Jul-01 5:44 
GeneralRe: Send information from a MFC to another MFC??? Pin
RobJones3-Jul-01 6:07
RobJones3-Jul-01 6:07 
GeneralRe: Send information from a MFC to another MFC??? Pin
3-Jul-01 23:16
suss3-Jul-01 23:16 
QuestionANY GURU TO EXPLAIN THIS? Pin
Daniel Visan3-Jul-01 4:44
Daniel Visan3-Jul-01 4:44 
Anybody heard about CListCtrl... there is a member function called SetItemData(int,dword). I use this function when i retrieve data from an ado cursor

while (!RecSet->EndOfFile())
{
//here insert data from recset into CListCtrl
SetItemData(nItem,anyvalue);
RecSet->MoveNext()
}

Now the interesting part: Probably nobody believes me!(Smile | :)

After two loops no problem...In the third loop my application die.
Then i modified the code like this:

while (!RecSet->EndOfFile())
{
//here insert data from recset into CListCtrl
SetItemData(nItem,anyvalue);
for (int i=0;i<100.000;i++);
RecSet->MoveNext()
}

Error again...
Then I tried this:

while (!RecSet->EndOfFile())
{
//here insert data from recset into CListCtrl
SetItemData(nItem,anyvalue);
for (int i=0;i<1.000.000;i++);
RecSet->MoveNext()
}
NO PROBLEM AT ALL...

My question is WHY? WHY? WHY?
AnswerRe: ANY GURU TO EXPLAIN THIS? Pin
Carlos Antollini3-Jul-01 5:08
Carlos Antollini3-Jul-01 5:08 
GeneralRe: ANY GURU TO EXPLAIN THIS? Pin
Stan Shannon3-Jul-01 7:07
Stan Shannon3-Jul-01 7:07 
GeneralRe: ANY GURU TO EXPLAIN THIS? Pin
CodeGuy3-Jul-01 7:27
CodeGuy3-Jul-01 7:27 
GeneralRe: ANY GURU TO EXPLAIN THIS? Pin
Daniel Visan3-Jul-01 20:51
Daniel Visan3-Jul-01 20:51 
GeneralRe: ANY GURU TO EXPLAIN THIS? Pin
Daniel Visan3-Jul-01 21:58
Daniel Visan3-Jul-01 21:58 
GeneralRe: ANY GURU TO EXPLAIN THIS? Pin
Mike Burston4-Jul-01 20:00
Mike Burston4-Jul-01 20:00 
GeneralRe: ANY GURU TO EXPLAIN THIS? Pin
Daniel Visan4-Jul-01 21:25
Daniel Visan4-Jul-01 21:25 
GeneralRe: ANY GURU TO EXPLAIN THIS? Pin
Mike Burston5-Jul-01 12:42
Mike Burston5-Jul-01 12:42 
AnswerRe: ANY GURU TO EXPLAIN THIS? Pin
4-Jul-01 18:27
suss4-Jul-01 18:27 
GeneralCOleDateTime Pin
3-Jul-01 4:41
suss3-Jul-01 4:41 
GeneralThreadProc and templates Pin
Anders Molin3-Jul-01 2:55
professionalAnders Molin3-Jul-01 2:55 
GeneralRe: ThreadProc and templates Pin
Tomasz Sowinski3-Jul-01 6:04
Tomasz Sowinski3-Jul-01 6:04 
GeneralRe: ThreadProc and templates Pin
Chris Meech3-Jul-01 7:13
Chris Meech3-Jul-01 7:13 
GeneralCrystal Report question ... Pin
Hadi Rezaee3-Jul-01 1:50
Hadi Rezaee3-Jul-01 1:50 
GeneralRe: Crystal Report question ... Pin
l a u r e n3-Jul-01 5:25
l a u r e n3-Jul-01 5:25 
GeneralRe: Crystal Report question ... Pin
Hadi Rezaee3-Jul-01 7:45
Hadi Rezaee3-Jul-01 7:45 
GeneralRe: Crystal Report question ... Pin
Hadi Rezaee3-Jul-01 20:20
Hadi Rezaee3-Jul-01 20:20 

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.