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. DLL and CBitmap

DLL and CBitmap

Scheduled Pinned Locked Moved C / C++ / MFC
ai-modelsquestion
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.
  • B Offline
    B Offline
    Bert Tuyt
    wrote on last edited by
    #1

    I am working on a program where I keep background textures in a separate DLL (for simple upgrade possibilities). I use LoadBitmap in the DLL and I export the pointer to the asociated CBitmap to the application. Everything works fine, except that refresh is quite slow now. Does anyone know/recognize this behaviour , or did I do something else wrong? If someone has a clue and solution, please let me know. Bert....

    G 1 Reply Last reply
    0
    • B Bert Tuyt

      I am working on a program where I keep background textures in a separate DLL (for simple upgrade possibilities). I use LoadBitmap in the DLL and I export the pointer to the asociated CBitmap to the application. Everything works fine, except that refresh is quite slow now. Does anyone know/recognize this behaviour , or did I do something else wrong? If someone has a clue and solution, please let me know. Bert....

      G Offline
      G Offline
      gucy
      wrote on last edited by
      #2

      you can load resource in the application directly instead of loading in dlls. when you load resource in the application after load some dlls.the system will look for the resource not only in the application but also in dlls it has loaded. i hope it works well... gucy

      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