不知道怎么回事
delphi正常
unit SmppImport;interface
uses windows;
//初始化接口
function IFInitInterface(
dwCodeProtocol:DWORD ; //编码协议
dwDriverProtocol:DWORD ; //通讯协议
pDriverParam:LPCTSTR //通讯协议参数
):integer;stdcall;external 'SMEIDll.dll';//退出接口
function IFExitInterface():integer;stdcall;external 'SMEIDll.dll'
VC下这样就出错了~~
HINSTANCE hinstDLL;
hinstDLL=LoadLibrary("SMEIDll.dll");
if (hinstDLL)
FreeLibrary(hinstDLL);
delphi正常
unit SmppImport;interface
uses windows;
//初始化接口
function IFInitInterface(
dwCodeProtocol:DWORD ; //编码协议
dwDriverProtocol:DWORD ; //通讯协议
pDriverParam:LPCTSTR //通讯协议参数
):integer;stdcall;external 'SMEIDll.dll';//退出接口
function IFExitInterface():integer;stdcall;external 'SMEIDll.dll'
VC下这样就出错了~~
HINSTANCE hinstDLL;
hinstDLL=LoadLibrary("SMEIDll.dll");
if (hinstDLL)
FreeLibrary(hinstDLL);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货