c++bulider中怎么调用DLL文件 有会的朋友吗,我是刚学习BCB的,学到这就不会了, 5
Project1.dll如下,void__stdcallProject1(){ShowMessage("你好");}调用时的,{{HINSTANCEDLLINST=NUL...
Project1.dll 如下,
void __stdcall Project1()
{
ShowMessage("你好");
}
调用时的,
{
{
HINSTANCE DLLINST = NULL;
DLLINST = LoadLibrary("Project1.dll");
(void (__stdcall*))GetProcAddress(DLLINST , "Project1");
}
} 展开
void __stdcall Project1()
{
ShowMessage("你好");
}
调用时的,
{
{
HINSTANCE DLLINST = NULL;
DLLINST = LoadLibrary("Project1.dll");
(void (__stdcall*))GetProcAddress(DLLINST , "Project1");
}
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询