Click here to Skip to main content
15,911,139 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalappend CString [] Pin
kittunair22-Feb-05 23:28
kittunair22-Feb-05 23:28 
GeneralRe: append CString [] Pin
ThatsAlok22-Feb-05 23:50
ThatsAlok22-Feb-05 23:50 
GeneralRe: append CString [] Pin
David Nash23-Feb-05 7:03
David Nash23-Feb-05 7:03 
GeneralDate Validation Pin
Renjith Ramachandran22-Feb-05 23:16
Renjith Ramachandran22-Feb-05 23:16 
GeneralRe: Date Validation Pin
David Crow23-Feb-05 2:40
David Crow23-Feb-05 2:40 
GeneralRe: Date Validation Pin
James R. Twine23-Feb-05 2:51
James R. Twine23-Feb-05 2:51 
GeneralRe: Date Validation Pin
anand_study17-May-05 19:47
anand_study17-May-05 19:47 
Generalmalloc fails Pin
Jay Carter22-Feb-05 23:00
Jay Carter22-Feb-05 23:00 
I am having an issue with malloc on Win2000 and WinXPPro. I am trying to repeat a real world scenario here. I have a loop that keeps calling malloc until it fails (use all virtual address space).

1) malloc 1100 rand() size blocks between 0 and 32 bytes.
2) malloc nSize block
3) malloc another nSize block
4) free 2)
5) repeat from 1 until any malloc fails
6) free all allocated memory

After process creation if use nSize>520184, this will continually use all virtual space until use nSize<=520184. Now use nSize>520184 will allocate 1-25 blocks then malloc fails. I can continually use nSize<=520184 and use all address space.

Basically once I have filled the address space with blocks <=520184 I can no longer use blocks >520184.

Anyone got any thoughts
GeneralRe: malloc fails Pin
$8823-Feb-05 1:33
$8823-Feb-05 1:33 
GeneralRe: malloc fails Pin
Mike Dimmick23-Feb-05 2:30
Mike Dimmick23-Feb-05 2:30 
GeneralRe: malloc fails Pin
Jay Carter23-Feb-05 3:30
Jay Carter23-Feb-05 3:30 
GeneralRe: malloc fails Pin
Neville Franks23-Feb-05 9:02
Neville Franks23-Feb-05 9:02 
QuestionTo set modified time of a file as current time? Pin
Monisankar22-Feb-05 22:50
Monisankar22-Feb-05 22:50 
AnswerRe: To set modified time of a file as current time? Pin
Monisankar22-Feb-05 23:36
Monisankar22-Feb-05 23:36 
GeneralCEdit Line Length Limit Problem Pin
fangzj22-Feb-05 22:17
fangzj22-Feb-05 22:17 
GeneralRe: CEdit Line Length Limit Problem Pin
David Crow23-Feb-05 2:38
David Crow23-Feb-05 2:38 
GeneralRe: CEdit Line Length Limit Problem Pin
fangzj23-Feb-05 3:43
fangzj23-Feb-05 3:43 
GeneralRe: CEdit Line Length Limit Problem Pin
David Crow23-Feb-05 5:57
David Crow23-Feb-05 5:57 
GeneralRe: CEdit Line Length Limit Problem Pin
fangzj23-Feb-05 13:07
fangzj23-Feb-05 13:07 
GeneralRe: CEdit Line Length Limit Problem Pin
David Crow24-Feb-05 3:02
David Crow24-Feb-05 3:02 
GeneralRe: CEdit Line Length Limit Problem Pin
fangzj24-Feb-05 13:22
fangzj24-Feb-05 13:22 
GeneralRe: CEdit Line Length Limit Problem Pin
David Crow24-Feb-05 16:15
David Crow24-Feb-05 16:15 
GeneralGET RESOURCE ID'S Pin
kedar.dave22-Feb-05 22:15
kedar.dave22-Feb-05 22:15 
GeneralRe: GET RESOURCE ID'S Pin
Bernhard22-Feb-05 22:38
Bernhard22-Feb-05 22:38 
Generalmulti page internet explorer Pin
storein22-Feb-05 21:15
storein22-Feb-05 21:15 

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.