writing windows dlls using visual studio 2008 express
I was wondering if anyone knows how exactly to set up the project to compile a dll in visual studio 2008? I got it to export a dll file, but for some reason can't get that dll to load into a program i wrote in liberty basic 4.03 (eeeww!! it's just to test my dll, im loyal to c, i swear). but i have the function defined:
int _stdcall sum (int a, int b);
and i'm not using any functions requiring interrupts or anything, just
return a+b;
but i still cant get it to work right! I have the project defined as a dll in project options, so what am i doing wrong?