SQLite_Query报错
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',不懂这是什么错误? 自己解决了。。。重新网上下载了个sqlite3.dll
页:
[1]