DLL in C
DLL in C
Create new project as shared library Create header file and cpp file and compile Dll file will be created Create another cpp project Include header file that you created in shared library project Go to project-> properties ->c/c++build->settings and select linker->libraries build type the dll name without (lib). On library search path give the path to the dll file Go to project properties ->c/c++General->paths and symbol ->GNU c++ and give path to the project folder of dll project Thats it you can run any function of dll