定义一个函数说明
typedef int (_stdcall sqrtproc)(形参);
HINSTANCE hInstance;
函数指针
sqrtproc *pFunction;
加载dll
hInstance=::LoadLibrary("..//业务//dll//gFileTrans.dll");
得到函数的地址
pFunction=(sqrtproc *)::GetProcAddress(hInstance,"函数名");
通过函数指针调用函数
(*pFunction)("127.0.0.1", 8600, "", "", "", "", "", "", "");