On 7/13/07, Gilles Ganault <[EMAIL PROTECTED]> wrote:
I read the following pages to compile the SQLite C source into a VisualBasic-friendly DLL (ideally, VisualBasic 5 instead of 6): http://www.tannertech.net/sqlite3vb/ http://www.persistentrealities.com/index.php?p=18 but I don't have MS' VisualStudio compiler.
Visual C++ Express is free and capable of handling this: http://msdn.microsoft.com/vstudio/express/visualc/ You'll also need the Platform SDK, linked from there with integration instructions. The newer Windows SDK (successor to the Platform SDK) includes the commandline compilers too. Note that you don't need this, I just mention it for completeness; the older Platform SDK linked from the VC++ Express page is fine and a smaller download anyway. (Well, "smaller" in relative terms...)
1. Is it possible to use a free compiler like Borland's C++Builder Compiler 5.5, or another C compiler for Windows?
I haven't tried, but skimming those pages, I don't see anything that can't be handled by any Windows C compiler. I don't recommend trying Borland's though. It's frustrating to get started, since it insists on doing everything differently than everyone else, and it may not include all of the needed libraries/headers. I'd recommend picking a compiler that is still maintained. lcc-win32, Digital Mars, or mingw can probably handle it, for instance. Not sure about Open Watcom; tech-wise it's fine but they've been slow about keeping up with headers/libraries.
2. Is there an easier way to compile the source code than the above two articles?
It looks like they do only what is necessary, so "probably not". Using the IDE that way will also be easier than trying to work with commandline tools, since you'll have to work out all the right switches etc that IDEs tend to hide. Hope this helps. ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------