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 Features

DLL Features

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpvisual-studiocomquestion
3 Posts 3 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
    bkelly13
    wrote on last edited by
    #1

    Visual Studio 2012, C++ I have several utilities to be put in a DLL. If the utilities put in a DLL are built without MFC and without ATL, can they be used by those types of projects? Can the products of multiple projects, within a single solution, be put into a single DLL? So far, my limited experience indicates this is not the case. Can Visual Studio show the contents of a DLL? I don’t want a reverse compiler/assembler, I just want to see the signatures of the functions contained by the DLL. My apologies for the double post. The first one disappeared and I thought I had messed up so posted again.

    Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com

    J L 2 Replies Last reply
    0
    • B bkelly13

      Visual Studio 2012, C++ I have several utilities to be put in a DLL. If the utilities put in a DLL are built without MFC and without ATL, can they be used by those types of projects? Can the products of multiple projects, within a single solution, be put into a single DLL? So far, my limited experience indicates this is not the case. Can Visual Studio show the contents of a DLL? I don’t want a reverse compiler/assembler, I just want to see the signatures of the functions contained by the DLL. My apologies for the double post. The first one disappeared and I thought I had messed up so posted again.

      Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      You can put any code into a DLL. It is even simpler and better when the DLL code did not use MFC or ATL (it can then be used by any application). I'm not sure if I understand your second question. Do you mean to create a DLL with functions used by multiple applications where each application uses only a subset of exported functions? If so, the answer is yes. To list the symbols exported by a DLL you can use the DUMPBIN[^] command line tool (located in the VC\bin directory) with the /EXPORTS option. You can also use the GUI tool Dependency Walker (depends.exe)[^]. Both will list the names of exported functions and variables. The Dependency Walker can also show the parameters when present in the DLL (has been build with C++ decoration).

      1 Reply Last reply
      0
      • B bkelly13

        Visual Studio 2012, C++ I have several utilities to be put in a DLL. If the utilities put in a DLL are built without MFC and without ATL, can they be used by those types of projects? Can the products of multiple projects, within a single solution, be put into a single DLL? So far, my limited experience indicates this is not the case. Can Visual Studio show the contents of a DLL? I don’t want a reverse compiler/assembler, I just want to see the signatures of the functions contained by the DLL. My apologies for the double post. The first one disappeared and I thought I had messed up so posted again.

        Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Already answered in the ATL forum.

        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