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

C / C++ / MFC

 
GeneralRTF to XML Pin
AlexMarbus9-Jul-02 6:58
AlexMarbus9-Jul-02 6:58 
GeneralRe: RTF to XML Pin
Joaquín M López Muñoz9-Jul-02 13:26
Joaquín M López Muñoz9-Jul-02 13:26 
GeneralRe: RTF to XML Pin
AlexMarbus10-Jul-02 7:41
AlexMarbus10-Jul-02 7:41 
GeneralCalling Access File Pin
TommyKnocker9-Jul-02 6:37
TommyKnocker9-Jul-02 6:37 
GeneralRe: Calling Access File Pin
Prem Kumar9-Jul-02 7:34
Prem Kumar9-Jul-02 7:34 
GeneralSelectObject() Rules Pin
Obliterator9-Jul-02 6:32
Obliterator9-Jul-02 6:32 
GeneralRe: SelectObject() Rules Pin
Prem Kumar9-Jul-02 7:32
Prem Kumar9-Jul-02 7:32 
GeneralRe: SelectObject() Rules Pin
Obliterator9-Jul-02 12:06
Obliterator9-Jul-02 12:06 
I'm using MFC - and all is definitely not taken care of!

Anyhow it looks like I've finally found the leak - I'll be testing on Win9x tomorrow to be sure!

There was a pen constructed inside an if statement then selected. The old pen should have been reselected before leaving the if statement. As it was not I'm guessing the pen could not be correctly destroyed as its scope was lost.

Thanks anyhow.


--

The Obliterator
GeneralRe: SelectObject() Rules Pin
Michael Dunn9-Jul-02 19:25
sitebuilderMichael Dunn9-Jul-02 19:25 
GeneralRe: SelectObject() Rules Pin
Obliterator9-Jul-02 23:14
Obliterator9-Jul-02 23:14 
GeneralRe: SelectObject() Rules Pin
Anonymous10-Jul-02 11:33
Anonymous10-Jul-02 11:33 
GeneralCopy from Screen to Bitmap Pin
NickOne9-Jul-02 6:29
NickOne9-Jul-02 6:29 
GeneralRe: Copy from Screen to Bitmap Pin
Chris Losinger9-Jul-02 8:01
professionalChris Losinger9-Jul-02 8:01 
GeneralRe: Copy from Screen to Bitmap Pin
Ernest Laurentin9-Jul-02 8:32
Ernest Laurentin9-Jul-02 8:32 
GeneralSystem tray Pin
Anonymous9-Jul-02 5:33
Anonymous9-Jul-02 5:33 
GeneralRe: System tray Pin
Joaquín M López Muñoz9-Jul-02 5:41
Joaquín M López Muñoz9-Jul-02 5:41 
GeneralRe: System tray Pin
Renjith Ramachandran10-Jul-02 1:26
Renjith Ramachandran10-Jul-02 1:26 
GeneralDialog controls Pin
Anonymous9-Jul-02 5:31
Anonymous9-Jul-02 5:31 
GeneralRe: Dialog controls Pin
Joaquín M López Muñoz9-Jul-02 5:38
Joaquín M López Muñoz9-Jul-02 5:38 
GeneralRe: Dialog controls Pin
Anonymous9-Jul-02 5:51
Anonymous9-Jul-02 5:51 
GeneralRe: Dialog controls Pin
Prem Kumar9-Jul-02 5:42
Prem Kumar9-Jul-02 5:42 
GeneralRe: Dialog controls Pin
benjymous9-Jul-02 6:02
benjymous9-Jul-02 6:02 
GeneralRe: Dialog controls Pin
Prem Kumar9-Jul-02 7:26
Prem Kumar9-Jul-02 7:26 
GeneralFiletype icon association Pin
Brind_Foin9-Jul-02 5:01
Brind_Foin9-Jul-02 5:01 
GeneralRe: Filetype icon association Pin
Joaquín M López Muñoz9-Jul-02 5:17
Joaquín M López Muñoz9-Jul-02 5:17 

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.