Quote:
var = (LPVAR)GetProcAddress(hDLL, "Ver_C");
The
"Ver_C"
should match the name of your exported function exactly. Make sure you have a function named that, if you don't, that's your problem. If you do have a function named that, make sure it was a C-style export or else the name probably contains "name mangling".