I have a C++ Windows program that compiles into the DLL. The DLL uses various imported functions (example below):
In this case, my DLL uses InitializeSecurityDescriptor
from ADVAPI32.dll
, which is a Windows DLL.
My question is: Is it possible to "bake in" the code of ADVAPI32.dll
into the compilation of the DLL? E.g. make it not appear as an import, and instead copy in its code? Or is this infeasible, because it in turn has lots of dependencies?
Thanks a lot for any help!