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

C / C++ / MFC

 
AnswerRe: Need help on drawing a line Pin
CPallini25-Feb-09 21:41
mveCPallini25-Feb-09 21:41 
Questiondelete a line from file. Pin
sam_psycho25-Feb-09 18:52
sam_psycho25-Feb-09 18:52 
AnswerRe: delete a line from file. Pin
«_Superman_»25-Feb-09 18:55
professional«_Superman_»25-Feb-09 18:55 
GeneralRe: delete a line from file. Pin
User 268325825-Feb-09 19:36
User 268325825-Feb-09 19:36 
GeneralRe: delete a line from file. Pin
Iain Clarke, Warrior Programmer25-Feb-09 22:02
Iain Clarke, Warrior Programmer25-Feb-09 22:02 
GeneralRe: delete a line from file. Pin
CPallini25-Feb-09 22:13
mveCPallini25-Feb-09 22:13 
GeneralRe: delete a line from file. Pin
David Crow26-Feb-09 3:07
David Crow26-Feb-09 3:07 
Questionhiding nodes in a mfc ctreectrl Pin
kitkat1201225-Feb-09 17:05
kitkat1201225-Feb-09 17:05 
AnswerRe: hiding nodes in a mfc ctreectrl Pin
Hamid_RT25-Feb-09 20:54
Hamid_RT25-Feb-09 20:54 
AnswerRe: hiding nodes in a mfc ctreectrl Pin
Iain Clarke, Warrior Programmer25-Feb-09 22:06
Iain Clarke, Warrior Programmer25-Feb-09 22:06 
Questionupdate 3ds max plugin without restarting 3ds max 2008(Q2) Pin
akira3225-Feb-09 16:09
akira3225-Feb-09 16:09 
QuestionCRecordset Empty string Pin
ohming25-Feb-09 15:58
ohming25-Feb-09 15:58 
QuestionON_MESSAGE for CDialog OBJECT Pin
ForNow25-Feb-09 14:28
ForNow25-Feb-09 14:28 
AnswerRe: ON_MESSAGE for CDialog OBJECT Pin
Richard Andrew x6425-Feb-09 15:16
professionalRichard Andrew x6425-Feb-09 15:16 
GeneralRe: ON_MESSAGE for CDialog OBJECT Pin
ForNow25-Feb-09 15:27
ForNow25-Feb-09 15:27 
GeneralRe: ON_MESSAGE for CDialog OBJECT Pin
Richard Andrew x6425-Feb-09 16:15
professionalRichard Andrew x6425-Feb-09 16:15 
GeneralRe: ON_MESSAGE for CDialog OBJECT Pin
ForNow25-Feb-09 16:31
ForNow25-Feb-09 16:31 
GeneralRe: ON_MESSAGE for CDialog OBJECT Pin
Richard Andrew x6425-Feb-09 16:25
professionalRichard Andrew x6425-Feb-09 16:25 
GeneralRe: ON_MESSAGE for CDialog OBJECT Pin
Stuart Dootson25-Feb-09 16:32
professionalStuart Dootson25-Feb-09 16:32 
GeneralRe: ON_MESSAGE for CDialog OBJECT Pin
ForNow25-Feb-09 16:38
ForNow25-Feb-09 16:38 
GeneralRe: ON_MESSAGE for CDialog OBJECT Pin
Stuart Dootson25-Feb-09 16:43
professionalStuart Dootson25-Feb-09 16:43 
GeneralRe: ON_MESSAGE for CDialog OBJECT Pin
Stuart Dootson25-Feb-09 16:26
professionalStuart Dootson25-Feb-09 16:26 
GeneralRe: ON_MESSAGE for CDialog OBJECT Pin
ForNow25-Feb-09 16:46
ForNow25-Feb-09 16:46 
QuestionMemory Allocation Error 998 Pin
Richard Andrew x6425-Feb-09 14:06
professionalRichard Andrew x6425-Feb-09 14:06 
I'm working on a straight C program in Visual Studio 6.0.

I added a few calls to malloc() today, and malloc fails every time with a NULL return value. GetLastError() returns 998 - Invalid access to memory location.

The process is using only about 5 MB of RAM when this occurs, and I've restarted XP several times without curing the problem.

No other process on the system shows any signs of running out of memory.

When I replace calls to malloc with calls to HeapAlloc(), the program runs fine.

Can anyone think of a reason why malloc might be failing?
AnswerRe: Memory Allocation Error 998 Pin
Stuart Dootson25-Feb-09 16:03
professionalStuart Dootson25-Feb-09 16:03 

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.