Search found 2 matches

by DKameleon
25.12.2008, 23:34
Forum: ZeosLib 7.0 Beta Forum
Topic: TZSQLiteStatement.ExecuteUpdate
Replies: 4
Views: 849

Yes, Y've made following change: function TZSQLiteStatement.ExecuteUpdate(const SQL: string): Integer; var ErrorCode: Integer; ErrorMessage: PAnsiChar; begin ErrorMessage := ''; ErrorCode := FPlainDriver.Execute(FHandle, PAnsiChar(UTF8String(SQL)), nil, nil, ErrorMessage); Added casting to UTF8Strin...
by DKameleon
24.12.2008, 22:58
Forum: ZeosLib 7.0 Beta Forum
Topic: TZSQLiteStatement.ExecuteUpdate
Replies: 4
Views: 849

TZSQLiteStatement.ExecuteUpdate

Was trying to use SQLite on D2009, but during insert got a message: SQL Error: near "I": syntax error. After a little discovery located that function passes to the dll pointer to unicode sting and sqlite fails to parse it: function TZSQLiteStatement.ExecuteUpdate(const SQL: string): Intege...