I'm developing a non-mfc application that uses a dll file (which I made too).
when I try to load the dll file LoadLibrary is successful (does not return NULL), however GetProcAddress fails (returns NULL).
Otherwise, the symbol names are "scrambled" by the compiler (they have a load of numbers and symbols stuck on depending on return type, etc). Thus they are not called what you expect without the extern "C" bit.