5 ms·
And in the opposite direction Windows executables can always be loaded as libraries. There's also rundll32 for libraries designed to be run like executables.
by FreakLegion 4y ago
And in the opposite direction Windows executables can always be loaded as libraries. There's also rundll32 for libraries designed to be run like executables.
- RajT88 4y ago.net core builds apps as *.dll's too.
- jsmith45 4y agoFor classic .NET, yes, all executables are fully valid libraries. (For .net core, the executables actually compile to dlls with a native runner executable sometimes included alongside it. (Depends on exact build command used). For win32, loading executables as code libraries is not officially supported. Now, it does sort-of work, but there are limitations that are totally undocumented. What is officially supported is dynamically loading executables to access resources.
- pjmlp 4y agoYes, PE format is quite flexible.