Le 29/05/2012 07:43, Bruce a écrit :
> Is there any way to access (read-only of course) an sqlite database
> inside the gambas executable?
>
> Strange idea I know, but I've got this "really good idea".
>
> Bruce
>
At program startup, you must copy the sqlite file from the executable
(with COPY) t
Hi Bruce,
what about to cat the database-file at the end of an executable and
strip it later (perhaps with cut) and store it, where you like.
Another methode could be, study the C-code of the sqlite-libs and see,
if you can open the database with an offset - i.e. the data will begin
at the end
On Wed, 2012-05-30 at 01:38 +0200, Emil Lenngren wrote:
> If you only use the database file as a container for help files, isn't it
> possible to store the help files directly under a directory structure
> (which can be packed in the executable) or something, instead of having a
> database?
>
> /E
On Tue, 2012-05-29 at 16:19 -0700, Randall Morgan wrote:
> As I understand Sqlite, the database is file based, and the file path can
> be passed to the open/connect method. So what is to keep you from putting
> the db file in the data directory of the application?
That's where it is (and that's w
If you only use the database file as a container for help files, isn't it
possible to store the help files directly under a directory structure
(which can be packed in the executable) or something, instead of having a
database?
/Emil
2012/5/30 Randall Morgan
> As I understand Sqlite, the databa
As I understand Sqlite, the database is file based, and the file path can
be passed to the open/connect method. So what is to keep you from putting
the db file in the data directory of the application? I'll admit I have not
used Sqlite in four or five years. I mostly use MySQL and MS SQL. Which are
On Tue, 2012-05-29 at 12:17 -0700, Randall Morgan wrote:
> Can you explain in a little more detail what you want to do?
>
>
>
> On Mon, May 28, 2012 at 10:43 PM, Bruce wrote:
>
> > Is there any way to access (read-only of course) an sqlite database
> > inside the gambas executable?
> >
> > Str
Can you explain in a little more detail what you want to do?
On Mon, May 28, 2012 at 10:43 PM, Bruce wrote:
> Is there any way to access (read-only of course) an sqlite database
> inside the gambas executable?
>
> Strange idea I know, but I've got this "really good idea".
>
> Bruce
>
>
>
> ---
On Tue, 2012-05-29 at 15:13 +0930, Bruce wrote:
> Is there any way to access (read-only of course) an sqlite database
> inside the gambas executable?
>
> Strange idea I know, but I've got this "really good idea".
>
> Bruce
>
FireFox uses SQLite to manage their 'cookie' DB. I don't think the OS
I suppose it is possible, but not easy. Unless you copy database out from
executable to access it.
But what's the point then... or anyway..?
Jussi
On 29 May 2012 08:43, Bruce wrote:
> Is there any way to access (read-only of course) an sqlite database
> inside the gambas executable?
>
> Stran
Is there any way to access (read-only of course) an sqlite database
inside the gambas executable?
Strange idea I know, but I've got this "really good idea".
Bruce
--
Live Security Virtual Conference
Exclusive live event
11 matches
Mail list logo