iOS SQLite with UniDAC implementation

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
wjjw73
Posts: 22
Joined: Fri 17 Aug 2012 09:51

iOS SQLite with UniDAC implementation

Post by wjjw73 » Thu 09 May 2013 19:45

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

CristianP
Posts: 79
Joined: Fri 07 Dec 2012 07:44
Location: Timișoara, Romania

Re: iOS SQLite with UniDAC implementation

Post by CristianP » Fri 10 May 2013 06:26

Hello,

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

Best Regards,
Cristian Peta

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: iOS SQLite with UniDAC implementation

Post by AlexP » Fri 10 May 2013 11:33

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.

Post Reply