*******************UseDll1.cpp********************* #include typedef int (*function1_ptr) (); function1_ptr function1=NULL; int APIENTR
I had the same issue. This link resolved it. The issue was that I was not using _T macro.