一、exe中按钮相应dll调用
typedef void (*lpFun)(void);
HINSTANCE exe_hInstance=GetModuleHandle(NULL); //获取exe资源
HINSTANCE dll_hInstance=LoadLibrary("ScheduleSystem.dll");//加载dll
if (NULL==dll_hInstance)
{
MessageBox("DLL加载失败");
return;