I have a general idea of what dll file does. From my understnading, we can write a set of useful functions and data and can compile it to a dll format. But if we want to have other programs access this dll's functions, we need to "export" the functions using .def file or by inserting some Microsoft specific directives in the code.
But I was a bit confused when I saw some legacy automated test scripts at my work. The scripts had some lines like
Here nunit-console.exe is a test framework that does unit testing by utilitizing functions defined in unittest.dll. But when I did dumpbin.exe /EXPORTS unittests.dll, I couldn't see any function that was exported. I tried with /all option but ended in vain.Code:nunit-console.exe unittest.dll
nunit-console.exe is a largely available 3rd party testing harness, and unittest.dll is something a developer at my work wrote. This may seem a stupid question, but then how can nunit-console.exe access information (whether it's function or data) in the dll file if no functions were exported?
Thanks in advance.