omegabomb 发表于 2016-5-29 16:53:07

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',不懂这是什么错误?

omegabomb 发表于 2016-5-29 19:39:35

自己解决了。。。重新网上下载了个sqlite3.dll
页: [1]
查看完整版本: SQLite_Query报错