logo       

Re:SQLite with Borland C++ Builder 6.0: msg#00181

db.sqlite.general

Subject: Re:SQLite with Borland C++ Builder 6.0

Boguslaw,

I don't know if this could help but the source package compiles without any
problem.. in case you want to use the source included in your project and
not the dll...

Luc

At 21:08 28/11/2002 +0100, Bogus³aw Brandys wrote:
>Thank You. Currently I test this also.DLL is created but all programs crash
>using it.
>What else I could do ?
>Attached is my makefile.
>
>Boguslaw
>
>
>----- Original Message -----
>From: Peter <panziefr-/E1597aS9LT10XsdtD+oqA@xxxxxxxxxxxxxxxx>
>To: <sqlite-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx>
>Sent: Thursday, November 28, 2002 4:59 PM
>Subject: Re: [sqlite] Digest Number 388 (SQLite with Borland C++ Builder
>6.0)
>
>
> >
> > >> Message: 16
> > Date: Thu, 28 Nov 2002 11:23:13 +0100
> > From: Bogus³aw Brandys <brandys-h7QdYz1kt/Q@xxxxxxxxxxxxxxxx>
> > Subject: Odp: SQLite with Borland C++ Builder 6.0?
> >
> > Could You help me with compiling sqlite.dll under Borland C++ 5.3 (aka
> > Builder 3.0) . I can succesfully compile all C files into OBJS but linking
> > them is some king of magic I don't understand.
> > I link using ilink32 with c032d.obj and import32.lib cw32mt.lib (windows
>32
> > multithreaded) but all exports names are mangled so no one is exported
>using
> > standard DEF file included in sqlitedll.zip.
> > Another way I use -u- switch which could potentially not mangle function's
> > names, but unfortunatelly cw32mt.lib uses mangled names as I know.
> > I stuck.Please help.
> >
> > Boguslaw
> >
> >
> > Your .def file for BCB should look something like:
> >
> > EXPORTS
> >
> > sqlite_open = _sqlite_open
> > sqlite_close = _sqlite_close
> > sqlite_exec = _sqlite_exec
> > etc....
> >
> > tdump the built .dll to make sure that there are no leading underscores
>generated on the function exports.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/EbFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
sqlite-unsubscribe-VgYJa0VH1e9BDgjK7y7TUQ@xxxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise