extern "C" __declspec(dllexport) int myfun(int nType,char *strPath){ OutputDebugStringA("dll export load success"); return 0;}