gdal库的使用 vb编程怎么调用.Dll库函数?
浏览量:1880
时间:2021-03-14 10:42:38
作者:admin
vb编程怎么调用.Dll库函数?
VB prepared DLL:注册DLL,引用DLL,私有XXX作为DLL类名,格式为uuu加载初始化:在新DLL中设置XXX=类名或:注册DLL,设置XXX=CreateObject(”项目名)。类名“)VC编译标准DLL:private | public declare function | sub function name lib “DLL name ”[alias “function name in DLL”](参数)作为返回值类型示例:declare function BitBlt lib “gdi32”alias “BitBlt”(ByVal hdestdc as long,ByVal x as long,ByVal y as long,ByVal nWidth as long,ByVal nHeight asLong,ByVal hSrcDC为Long,ByVal xSrc为Long,ByVal ySrc为Long,ByVal dwRop为Long)为Long
版权声明:本文内容由互联网用户自发贡献,本站不承担相关法律责任.如有侵权/违法内容,本站将立刻删除。