DLL Features
-
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
-
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
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).
-
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