Click here to Skip to main content
15,901,853 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Right-to-Left Reading Order MFC based Application Pin
David Crow25-Sep-03 5:33
David Crow25-Sep-03 5:33 
GeneralRe: Right-to-Left Reading Order MFC based Application Pin
ZAkinG25-Sep-03 10:53
ZAkinG25-Sep-03 10:53 
GeneralRe: Right-to-Left Reading Order MFC based Application Pin
David Crow26-Sep-03 3:12
David Crow26-Sep-03 3:12 
GeneralHELP PLEASE!!!! CANT FIGURE THIS OUT... Pin
Anonymous25-Sep-03 2:54
Anonymous25-Sep-03 2:54 
GeneralRe: HELP PLEASE!!!! CANT FIGURE THIS OUT... Pin
Jason Henderson25-Sep-03 3:25
Jason Henderson25-Sep-03 3:25 
GeneralRe: HELP PLEASE!!!! CANT FIGURE THIS OUT... Pin
73Zeppelin25-Sep-03 5:12
73Zeppelin25-Sep-03 5:12 
GeneralRe: HELP PLEASE!!!! CANT FIGURE THIS OUT... Pin
FearlessBurner25-Sep-03 6:27
FearlessBurner25-Sep-03 6:27 
GeneralHELP PLEASE!!!! CANT FIGURE THIS OUT... Pin
Anonymous25-Sep-03 2:54
Anonymous25-Sep-03 2:54 
i am writing a very simple program which allocates some memory for an array...
this is running on a athlon xp , 512 mb of ram, win xp pro. the big problem is that when i try to allocate something like 200 mb of ram memory (out of ~380 mb available), the program takes forever just to allocate the memory, and after that the computer begins to run extremely slow, even after i deallocate the memory. and if i run the program again and try to allocate memory again, windows will only allow me to allocate virtual memory, althought there's enough ram memory free that could be allocated... that's how i have written the program:

...
int main()
{
long size=25000;
long *array;

cout << "Will now allocate memory for the array..." << endl;
array=new long [size*sizeof(long)];
cout << "Memory allocated sucessfully..." << endl;
cout << "Will now deallocate the memory..." << endl;
delete[] array;

system("pause");
return 0;

}

i used a program (memtest) to test if this could be caused by defective ram memory, but i dont think thats the cause of that...

thanx
GeneralRe: HELP PLEASE!!!! CANT FIGURE THIS OUT... Pin
David Crow25-Sep-03 5:18
David Crow25-Sep-03 5:18 
GeneralCDialog with automatic scrollbars Pin
Anonymous25-Sep-03 2:54
Anonymous25-Sep-03 2:54 
QuestionHow to read message from OE Pin
Mila02525-Sep-03 2:41
Mila02525-Sep-03 2:41 
QuestionHow to detect that checkbox in listCtrl just got checked? Pin
ns25-Sep-03 2:40
ns25-Sep-03 2:40 
AnswerRe: How to detect that checkbox in listCtrl just got checked? Pin
Ravi Bhavnani25-Sep-03 3:23
professionalRavi Bhavnani25-Sep-03 3:23 
Generalyou got it! Pin
ns25-Sep-03 3:41
ns25-Sep-03 3:41 
GeneralRe: you got it! Pin
Ravi Bhavnani25-Sep-03 5:42
professionalRavi Bhavnani25-Sep-03 5:42 
Questionhow to email a page??? Pin
xxhimanshu25-Sep-03 2:28
xxhimanshu25-Sep-03 2:28 
AnswerRe: how to email a page??? Pin
David Crow25-Sep-03 5:06
David Crow25-Sep-03 5:06 
QuestionWhy do I receive WM_SETFOCUS only once? Pin
linjie25-Sep-03 2:09
linjie25-Sep-03 2:09 
AnswerRe: Why do I receive WM_SETFOCUS only once? Pin
David Crow25-Sep-03 2:20
David Crow25-Sep-03 2:20 
AnswerRe: Why do I receive WM_SETFOCUS only once? Pin
vcplusplus25-Sep-03 3:44
vcplusplus25-Sep-03 3:44 
QuestionICopyHook any help ? Pin
CEx25-Sep-03 1:47
CEx25-Sep-03 1:47 
AnswerRe: ICopyHook any help ? Pin
Michael Dunn25-Sep-03 4:49
sitebuilderMichael Dunn25-Sep-03 4:49 
GeneralRe: ICopyHook any help ? Pin
CEx26-Sep-03 23:56
CEx26-Sep-03 23:56 
GeneralUsing crystal reports with VC++ Pin
Mr Bose Dayala25-Sep-03 1:39
Mr Bose Dayala25-Sep-03 1:39 
GeneralVS6 Workspaces and Projects Pin
HeiniBlad25-Sep-03 0:55
HeiniBlad25-Sep-03 0:55 

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.