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. CxImage - again - pDib question

CxImage - again - pDib question

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestiondiscussionlounge
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.
  • V Offline
    V Offline
    Vaclav
    wrote on last edited by
    #1

    This is CxImage library question. For starters - I am asking you to refrain from discussion about virtues of other methods, please. This library is officially no longer supported by the author. So I am asking general audience for help. I need to convert the CxImage back to CDib. CxImage class has pDib member to do just that – however – I cannot figure out how to use pDib to accomplish that. The assertion is OK but my function fails with “illegal pointer passed”. I am not including my code because I do not want to waste space. I’ll be happy to provide code for whoever knows something about CxImage and can help me. Thanks for understanding. Vaclav

    J 1 Reply Last reply
    0
    • V Vaclav

      This is CxImage library question. For starters - I am asking you to refrain from discussion about virtues of other methods, please. This library is officially no longer supported by the author. So I am asking general audience for help. I need to convert the CxImage back to CDib. CxImage class has pDib member to do just that – however – I cannot figure out how to use pDib to accomplish that. The assertion is OK but my function fails with “illegal pointer passed”. I am not including my code because I do not want to waste space. I’ll be happy to provide code for whoever knows something about CxImage and can help me. Thanks for understanding. Vaclav

      J Offline
      J Offline
      Joel Lucsy
      wrote on last edited by
      #2

      What about GetDIB()? Thats all you'd need if you're using for StretchBlt or equiv. I've used CxImage quite a bit. -- Joel Lucsy

      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