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. Drawing ( CView )

Drawing ( CView )

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpdatabasegraphicslearning
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.
  • N Offline
    N Offline
    netx2003
    wrote on last edited by
    #1

    Hello, I have a VC++6(MFC) Application which is giving me a problem in Windows98/ME, but not on XP or 2000. The App has a CView that I use to draw on the screen OnDraw(CDC* pDC). I read information for an access database using ado and from that information I draw a chart on the screen. It runs five on XP/2000 but on 98 after a while or many call to the OnDraw functions it freezes and all the bitmaps that I am drawing on the screen don’t show anymore when I try to open a dlg it show a message box saying “A required resource was”. Any help will be appreciated. Thank You, Alfred

    C 1 Reply Last reply
    0
    • N netx2003

      Hello, I have a VC++6(MFC) Application which is giving me a problem in Windows98/ME, but not on XP or 2000. The App has a CView that I use to draw on the screen OnDraw(CDC* pDC). I read information for an access database using ado and from that information I draw a chart on the screen. It runs five on XP/2000 but on 98 after a while or many call to the OnDraw functions it freezes and all the bitmaps that I am drawing on the screen don’t show anymore when I try to open a dlg it show a message box saying “A required resource was”. Any help will be appreciated. Thank You, Alfred

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      the first thing you need to do is to check for leaked GDI objects. -c


      When history comes, it always takes you by surprise.

      Bobber!

      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