Click here to Skip to main content
15,895,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCImage and VC++ 6 Pin
RomTibi4-Dec-07 9:11
RomTibi4-Dec-07 9:11 
GeneralRe: CImage and VC++ 6 Pin
David Crow4-Dec-07 10:34
David Crow4-Dec-07 10:34 
GeneralRe: CImage and VC++ 6 Pin
Hamid_RT4-Dec-07 18:20
Hamid_RT4-Dec-07 18:20 
GeneralAdding WM_VSCROLL to message handler for slider control in VS 2005 with C++ and MFC Pin
GrizzlyDoug4-Dec-07 8:04
GrizzlyDoug4-Dec-07 8:04 
GeneralRe: Adding WM_VSCROLL to message handler for slider control in VS 2005 with C++ and MFC Pin
Mark Salsbery4-Dec-07 8:31
Mark Salsbery4-Dec-07 8:31 
GeneralGDI+ samples and malloc/free [modified] Pin
bob169724-Dec-07 7:16
bob169724-Dec-07 7:16 
GeneralRe: GDI+ samples and malloc/free Pin
David Crow4-Dec-07 7:22
David Crow4-Dec-07 7:22 
GeneralRe: GDI+ samples and malloc/free Pin
bob169724-Dec-07 7:41
bob169724-Dec-07 7:41 
DavidCrow wrote:
Does its constructor/destructor do anything?


I'm not sure the GDI+ source code is available for inspection (except the declaration files of course)

DavidCrow wrote:
Keep in mind that just because it's an MSDN sample, that does not imply it's also perfect code. Folks that supply samples to MSDN are not infallible. MSDN does provide lots of great code, some of which can be used unaltered, but it should still be scrutinized regardless.


I understand what your saying. I was scrutinizing it and I couldn't determine why they were doing it. I thought I'd post the question to see if it made sense to anybody and if they could explain what benefits the author is realizing here or if the code is flawed.

Thanks for the input.
GeneralRe: GDI+ samples and malloc/free Pin
DoomedOne4-Dec-07 9:20
DoomedOne4-Dec-07 9:20 
Questiondll using in VB or VC# Pin
kingday4-Dec-07 7:09
kingday4-Dec-07 7:09 
GeneralRe: dll using in VB or VC# Pin
CPallini4-Dec-07 9:22
mveCPallini4-Dec-07 9:22 
QuestionAlternatives to IExpress? Pin
chaiguy13374-Dec-07 5:44
chaiguy13374-Dec-07 5:44 
QuestionRe: 2D Tree Visualisation Pin
Lea Hayes4-Dec-07 3:14
Lea Hayes4-Dec-07 3:14 
GeneralRe: 2D Tree Visualisation Pin
Matthew Faithfull4-Dec-07 3:42
Matthew Faithfull4-Dec-07 3:42 
GeneralRe: 2D Tree Visualisation Pin
CPallini4-Dec-07 4:53
mveCPallini4-Dec-07 4:53 
GeneralRe: 2D Tree Visualisation Pin
zlike4-Dec-07 5:02
zlike4-Dec-07 5:02 
Generalcompile error about member variable initialization Pin
George_George4-Dec-07 2:49
George_George4-Dec-07 2:49 
GeneralRe: compile error about member variable initialization Pin
CPallini4-Dec-07 3:22
mveCPallini4-Dec-07 3:22 
JokeOff Topic Pin
toxcct4-Dec-07 5:37
toxcct4-Dec-07 5:37 
GeneralRe: Off Topic Pin
CPallini4-Dec-07 6:13
mveCPallini4-Dec-07 6:13 
JokeRe: Off Topic Pin
toxcct4-Dec-07 21:48
toxcct4-Dec-07 21:48 
GeneralRe: compile error about member variable initialization Pin
toxcct4-Dec-07 3:23
toxcct4-Dec-07 3:23 
GeneralRe: compile error about member variable initialization Pin
Matthew Faithfull4-Dec-07 3:33
Matthew Faithfull4-Dec-07 3:33 
Generalenable tool bar button Pin
CJ9420024-Dec-07 2:43
CJ9420024-Dec-07 2:43 
GeneralRe: enable tool bar button Pin
CPallini4-Dec-07 2:56
mveCPallini4-Dec-07 2:56 

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.