Hi, I want to use MSVC compiler to build a DLL file.
The problem is that the DLL doesn't have a main entry point. It's supposed to be a shared DLL used as a plug-in by an application. I can compile it using GCC this way:
gcc -c plugin.c gcc -shared -o plugin.dll plugin.o interface.def
The DEF file is to evade name mangling in a function export of the plug-in (it is the way the application use the plugin, through that function).
If I try to compile it using MSVC the linker complains that the entry point has to be defined.
I would like to ask another question, is there a tool in the MS Visual Studio suite like the GCC "strip" to reduce file size of EXE's?