logo       

Re: Digest Number 388 (SQLite with Borland C++ Builder 6.0): msg#00178

db.sqlite.general

Subject: Re: 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.


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

------------------------ 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