Page 1 of 1

iOS SQLite with UniDAC implementation

Posted: Thu 09 May 2013 19:45
by wjjw73
Hello!

I'm trying to convert my Win32 app to an iPad app.
Currently I have problems to connect to a local SQLite database.
I am using UniDAC 5.0.1 and Delphi XE4.

What I did is to deploy the local database "xxx.sqlite" with external path "StartUp\Documents". This file I also checked with FileExist and program is finding it.
But when I connect to it I get an error.

My changes to the UniConnection components are:
+ Database name: GetHomePath + PathDelim + 'Documents' + PathDelim + 'xxx.sqlite'
+ Options - Direct = True

Did I forget something?

Greetings,
Werner

Re: iOS SQLite with UniDAC implementation

Posted: Fri 10 May 2013 06:26
by CristianP
Hello,

for me is working...
Can you be more specific with this error?
Have you tried with a simple project?

Best Regards,
Cristian Peta

Re: iOS SQLite with UniDAC implementation

Posted: Fri 10 May 2013 11:33
by AlexP
Hello,

We don't support the Direct mode for platforms other than Win32. For iOS you should use the regular mode (Direct = false), the library for working with SQLite is installed together with the iOS operating system, so the Direct mode in not necessary there.