Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Doubt regarding DeleteObject

Doubt regarding DeleteObject

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsarchitecture
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 3037427
    wrote on last edited by
    #1

    Hi all, I have a doubt reagrading DeleteObject(). I created 25 solid brushes in a function and deleted all the brushes in other function. Before creating the brush the GDIObject count was 18 (as per task manager). After Creating 25 brushes the count was 43. Now even after deleting 25 brushes the GDI object count was still 32 instead of 18. Anybody plz tell me the reason.. Plz suggest any good GDI leak tester.

    N 1 Reply Last reply
    0
    • U User 3037427

      Hi all, I have a doubt reagrading DeleteObject(). I created 25 solid brushes in a function and deleted all the brushes in other function. Before creating the brush the GDIObject count was 18 (as per task manager). After Creating 25 brushes the count was 43. Now even after deleting 25 brushes the GDI object count was still 32 instead of 18. Anybody plz tell me the reason.. Plz suggest any good GDI leak tester.

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      sruti_p wrote:

      Anybody plz tell me the reason..

      Reading this[^] article will be of some help.


      Nibu thomas A Developer Programming tips[^]  My site[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups