I am trying to export some functions that I can import from other c++ or c# code. I know this can be done without creating a .dll project. I use the __declspec(dllexport) command on the function prototype and
for the project properties I have configuration type set to dll.
This code builds but there is no .dll file being generated. Any ideas why? Thanks for any help.
------------------------------------
Code:#include <iostream> #include <windows.h> using namespace std; __declspec( dllexport ) int AddNums(int a, int b); // prototype int AddNums (int a, int b) { return a+b; }