Click here to Skip to main content
15,899,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating a simple border on a dialog Pin
Maximilien4-Feb-05 3:41
Maximilien4-Feb-05 3:41 
GeneralRe: Creating a simple border on a dialog Pin
BrianBoru4-Feb-05 4:05
BrianBoru4-Feb-05 4:05 
GeneralRe: Creating a simple border on a dialog Pin
Ravi Bhavnani4-Feb-05 8:02
professionalRavi Bhavnani4-Feb-05 8:02 
GeneralRe: Creating a simple border on a dialog Pin
BrianBoru6-Feb-05 22:57
BrianBoru6-Feb-05 22:57 
GeneralPicture dissapearing Pin
monageasmear4-Feb-05 2:24
monageasmear4-Feb-05 2:24 
GeneralRe: Picture dissapearing Pin
Bob Ciora4-Feb-05 2:51
Bob Ciora4-Feb-05 2:51 
Questionstack or free store? Pin
Martin Ostermayer4-Feb-05 2:13
Martin Ostermayer4-Feb-05 2:13 
AnswerRe: stack or free store? Pin
Nemanja Trifunovic4-Feb-05 2:24
Nemanja Trifunovic4-Feb-05 2:24 
As a rule of thumb, create objects on stack when you can. It is simpler, safer (no memory leaks and dangling pointers) and results in faster code (stack allocation is way faster than heap allocation).

There are cases though, when you must create objects on heap: i.e. if you don't know the number of objects at compile time, or if you want to use run-time polymorphism.



My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
GeneralRe: stack or free store? Pin
Martin Ostermayer4-Feb-05 3:37
Martin Ostermayer4-Feb-05 3:37 
Questionhow to add my own toolbar Pin
bilas4-Feb-05 2:08
bilas4-Feb-05 2:08 
GeneralRelease Mode error Pin
aj16824-Feb-05 1:57
aj16824-Feb-05 1:57 
GeneralRe: Release Mode error Pin
Bob Ciora4-Feb-05 2:56
Bob Ciora4-Feb-05 2:56 
GeneralRelease Mode Errors Pin
aj16824-Feb-05 1:54
aj16824-Feb-05 1:54 
GeneralRe: Release Mode Errors Pin
Ravi Bhavnani4-Feb-05 8:00
professionalRavi Bhavnani4-Feb-05 8:00 
GeneralLDAP Pin
Anthony_Yio4-Feb-05 1:06
Anthony_Yio4-Feb-05 1:06 
GeneralRe: LDAP Pin
Antony M Kancidrowski4-Feb-05 1:54
Antony M Kancidrowski4-Feb-05 1:54 
GeneralRe: LDAP Pin
Anthony_Yio4-Feb-05 17:01
Anthony_Yio4-Feb-05 17:01 
GeneralGetWindowOrg fails..my metafile export is not working.... Pin
Dimitris Vikeloudas4-Feb-05 0:25
Dimitris Vikeloudas4-Feb-05 0:25 
Question. MAPI Error ? Pin
im4help3-Feb-05 23:35
im4help3-Feb-05 23:35 
AnswerRe: . MAPI Error ? Pin
Antony M Kancidrowski4-Feb-05 1:59
Antony M Kancidrowski4-Feb-05 1:59 
GeneralAlt + Tab Icon Pin
shiraztk3-Feb-05 23:33
shiraztk3-Feb-05 23:33 
QuestionHow can i parse a command line in an SDI application? Pin
IronMike3-Feb-05 23:32
IronMike3-Feb-05 23:32 
AnswerRe: How can i parse a command line in an SDI application? Pin
Anthony_Yio4-Feb-05 0:54
Anthony_Yio4-Feb-05 0:54 
GeneralRe: How can i parse a command line in an SDI application? Pin
Rick York4-Feb-05 7:07
mveRick York4-Feb-05 7:07 
GeneralMemory used by Pocess. Pin
Member 17079243-Feb-05 23:23
Member 17079243-Feb-05 23:23 

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.