I created a C/C++ shared library project in Eclipse to generate a DLL file. For testing reasons I also added a main function that shall run when I generate a EXE instead of a DL