Click here to Skip to main content
15,912,021 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDesign advice needed Pin
Keith Vitali25-Oct-05 8:03
Keith Vitali25-Oct-05 8:03 
AnswerRe: Design advice needed Pin
Achim Klein25-Oct-05 8:31
Achim Klein25-Oct-05 8:31 
AnswerRe: Design advice needed Pin
John R. Shaw25-Oct-05 9:03
John R. Shaw25-Oct-05 9:03 
GeneralRe: Design advice needed Pin
Keith Vitali26-Oct-05 9:15
Keith Vitali26-Oct-05 9:15 
AnswerRe: Design advice needed Pin
Joe Woodbury25-Oct-05 12:06
professionalJoe Woodbury25-Oct-05 12:06 
AnswerRe: Design advice needed Pin
User 58385225-Oct-05 17:21
User 58385225-Oct-05 17:21 
QuestionMalloc / Free problem Pin
Jader8925-Oct-05 6:45
Jader8925-Oct-05 6:45 
AnswerRe: Malloc / Free problem Pin
Roger Stoltz25-Oct-05 7:01
Roger Stoltz25-Oct-05 7:01 
You are using either a class or a template that is called "GUIQueue".
Never mix C++ objects with malloc/free. Use new/delete instead.
Why? Because the object's constructor and destructor won't get called when you are using malloc and free.
What kind of errors you get depend on the C++ object you are using.

--
Roger


It's supposed to be hard, otherwise anybody could do it!
GeneralRe: Malloc / Free problem Pin
Jader8925-Oct-05 7:31
Jader8925-Oct-05 7:31 
AnswerRe: Malloc / Free problem Pin
Maximilien25-Oct-05 7:10
Maximilien25-Oct-05 7:10 
GeneralRe: Malloc / Free problem Pin
Jader8925-Oct-05 7:33
Jader8925-Oct-05 7:33 
QuestionRe: Malloc / Free problem Pin
David Crow25-Oct-05 7:27
David Crow25-Oct-05 7:27 
AnswerRe: Malloc / Free problem Pin
Jader8925-Oct-05 7:34
Jader8925-Oct-05 7:34 
QuestionRe: Malloc / Free problem Pin
David Crow25-Oct-05 9:27
David Crow25-Oct-05 9:27 
AnswerRe: Malloc / Free problem Pin
Jader8925-Oct-05 9:34
Jader8925-Oct-05 9:34 
AnswerRe: Malloc / Free problem Pin
Jader8925-Oct-05 9:39
Jader8925-Oct-05 9:39 
GeneralRe: Malloc / Free problem Pin
David Crow25-Oct-05 9:47
David Crow25-Oct-05 9:47 
QuestionRe: Malloc / Free problem Pin
Jader8925-Oct-05 11:00
Jader8925-Oct-05 11:00 
AnswerRe: Malloc / Free problem Pin
David Crow25-Oct-05 11:07
David Crow25-Oct-05 11:07 
GeneralRe: Malloc / Free problem Pin
Jader8925-Oct-05 11:20
Jader8925-Oct-05 11:20 
GeneralRe: Malloc / Free problem Pin
Jader8925-Oct-05 11:30
Jader8925-Oct-05 11:30 
GeneralRe: Malloc / Free problem Pin
Jader8925-Oct-05 12:25
Jader8925-Oct-05 12:25 
AnswerRe: Malloc / Free problem Pin
Maximilien25-Oct-05 7:34
Maximilien25-Oct-05 7:34 
GeneralRe: Malloc / Free problem Pin
Jader8925-Oct-05 7:45
Jader8925-Oct-05 7:45 
AnswerRe: Malloc / Free problem Pin
Jader8925-Oct-05 7:58
Jader8925-Oct-05 7:58 

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.