*******************UseDll1.cpp*********************
#include
typedef int (*function1_ptr) ();
function1_ptr function1=NULL;
int APIENTR
In my dll calling experience, I had same problem. I did everything for giving path rightly but my library can not be loaded. Firstly I thought my dll had error, but nothing solved my problem at start. I advice doing below step for friends who think their project written rightly but still having same problem:
After building project with right configuration, it is working now.