找回密码
 加入
搜索
查看: 1924|回复: 1

[系统综合] SQLite_Query报错

[复制链接]
发表于 2016-5-29 16:53:07 | 显示全部楼层 |阅读模式
Func QueryData()
        Local $aRow,$hQuery
        $hDB=_SQLite_Open($DB_Path)
        If @error Then MsgBox(1,"1","db open error")
        If _SQLite_Query($hDB,"SELECT * FROM DomainList ORDER BY id DESC;",$hQuery) = $SQLITE_OK Then
                MsgBox(1,"1","_SQLite_Query成功")
        Else
                MsgBox(1,"1",@error)
        EndIf
        While _SQLite_FetchData($hQuery,$aRow) == $SQLITE_OK
                MsgBox(1,"1","_SQLite_FetchData成功")
        WEnd
        _SQLite_QueryFinalize($hQuery)
        _SQLite_Close($hDB)
EndFunc
_SQLite_Query 返回值 1 - 错误调用 SQLite API 'sqlite3_prepare16_v2',不懂这是什么错误?
 楼主| 发表于 2016-5-29 19:39:35 | 显示全部楼层
自己解决了。。。重新网上下载了个sqlite3.dll
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-12-26 02:26 , Processed in 0.070655 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表