DLL Questions
-
Windows 10, Visual Studio 2012, C++ I have several utilities to put in a DLL and some questions about how to do it. 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.
Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com
-
Windows 10, Visual Studio 2012, C++ I have several utilities to put in a DLL and some questions about how to do it. 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.
Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com
bkelly13 wrote:
If the utilities put in a DLL are built without MFC and without ATL, can they be used by those types of projects?
Yes.
bkelly13 wrote:
Can the products of multiple projects, within a single solution, be put into a single DLL?
Only if you consolidate the source code into a single project.
bkelly13 wrote:
I just want to see the signatures of the functions contained by the DLL.
Only source code or documentation can tell you the function signatures. But the DUMPBIN utility can show you the function names that are exported from the DLL.
The difficult we do right away... ...the impossible takes slightly longer.
-
bkelly13 wrote:
If the utilities put in a DLL are built without MFC and without ATL, can they be used by those types of projects?
Yes.
bkelly13 wrote:
Can the products of multiple projects, within a single solution, be put into a single DLL?
Only if you consolidate the source code into a single project.
bkelly13 wrote:
I just want to see the signatures of the functions contained by the DLL.
Only source code or documentation can tell you the function signatures. But the DUMPBIN utility can show you the function names that are exported from the DLL.
The difficult we do right away... ...the impossible takes slightly longer.
Richard Andrew x64 wrote:
Only if you consolidate the source code into a single project.
Havent tried it , but ILMerge should make that possible without consolidate the files into a single project: Download ILMerge from Official Microsoft Download Center[^]
-
Windows 10, Visual Studio 2012, C++ I have several utilities to put in a DLL and some questions about how to do it. 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.
Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com
-
Richard Andrew x64 wrote:
Only if you consolidate the source code into a single project.
Havent tried it , but ILMerge should make that possible without consolidate the files into a single project: Download ILMerge from Official Microsoft Download Center[^]
-
1. Yes, MFC/ATL applications can make calls to C++ functions or class methods, and pure C functions. 2. Yes, but you would need a single project for the final DLL. 3. See Decorated Names[^].
1. I expected that and thank you for the confirmation 2. I suppose that is not a big problem, may make for a large project, but that will have to do. 3. I was hoping for something easier, but this also is what it is. Thank you for taking the time to reply.
Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com
-
1. I expected that and thank you for the confirmation 2. I suppose that is not a big problem, may make for a large project, but that will have to do. 3. I was hoping for something easier, but this also is what it is. Thank you for taking the time to reply.
Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com
-
On point 3 I am sure I once found a tool or some source code (years ago now) that decoded them for you. Try some Google foo.
The Dependency Walker (depends.exe) Home Page[^] can show parameters for functions with C++ decoration.
-
The Dependency Walker (depends.exe) Home Page[^] can show parameters for functions with C++ decoration.