在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
原地址:http://zhidao.baidu.com/link?url=fzqefMM44ljXA5BnAbkX44SapCUteyzlXFvGLKvukBivm9AB-w39P_h7eX1ty-GQX8j3A03AZBPat6yMqjeY4Sc5jlaayMRVOigzCElm_Ky so本质就是个动态链接库 if not Tfile.Exists(TPath.GetDocumentsPath+'/libserial_port.so') then begin showmessage(TPath.GetDocumentsPath+'/libserial_port.so not found'); end; Handle1:=LoadLibrary(pchar(TPath.GetDocumentsPath+'/libserial_port.so'));//动态装入库 if Handle1<>0 then //找到库 begin fun1:=GetProcAddress(Handle1,'openport'); //搜索库函数Add,并返回函数指针 if Assigned(fun1) then begin ......
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论