0
typedef void (*EntryPointfuncPtr)(int argc, const char * argv);
HINSTANCE LoadME;
LoadMe = LoadLibrary("LoadMe.dll");
if (LoadMe != 0)
EntryPointfuncPtr LibMainEntryPoint; //GIve error in .c file but working fine in Cpp file.
//Error:illegal use of this type as an expression
LibMainEntryPoint = (EntryPointfuncPtr)GetProcAddress(LoadMe,"entryPoint");
有没有人可以告诉我如何去除这个编译错误。在.c文件中加载DLL时出现问题