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. Resource Only DLL question Urgent!

Resource Only DLL question Urgent!

Scheduled Pinned Locked Moved C / C++ / MFC
questionhtmlgraphicslearning
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
    Binayak
    wrote on last edited by
    #1

    Hi, I want to access and show a few html files and jpg files. I am thinking about making a resource only dll containing the html and jpg files. But I have never made one and I have few questions, Please reply. 1. My SDI project and Resource Only DLL should be two separate project, or I can include a resource only dll in my SDI application? 2. How do I access the resources in the dll from my application? 3. If SDI application and the dll are 2 separate project how are they loaded together, so that if I port my exe to a different machine it would work? 4. .jpg files are what kind of resources? because I just see ico and bitmap resources in the resource import dialog. Please advise soon Thanks

    P 1 Reply Last reply
    0
    • B Binayak

      Hi, I want to access and show a few html files and jpg files. I am thinking about making a resource only dll containing the html and jpg files. But I have never made one and I have few questions, Please reply. 1. My SDI project and Resource Only DLL should be two separate project, or I can include a resource only dll in my SDI application? 2. How do I access the resources in the dll from my application? 3. If SDI application and the dll are 2 separate project how are they loaded together, so that if I port my exe to a different machine it would work? 4. .jpg files are what kind of resources? because I just see ico and bitmap resources in the resource import dialog. Please advise soon Thanks

      P Offline
      P Offline
      Prakash Nadar
      wrote on last edited by
      #2

      1. YOu need to have 2 seperate workspace one for your sdi application and other for ur resource only dll. 2. The projects will be definitely be 2 but you can insert the resource only project into ur sdi project workspace so that you can work on both simultaneously. 3. You need to supply both the modules when installing in other machines and also other dlls that ur modules are depending upon ( you can get the list by using depends.exe supplied with visual studio. 4..jpg will be inserted as custom resource loading and using custom resource is a different topic, (that i dont know much about) hope i answered ur quries. My God is more powerfull Than Your God. (the line that divides the world)

      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