Thread: Using SQLite?

  1. #16
    Registered User
    Join Date
    Aug 2003
    Posts
    470
    Yeah, scratch that. The site I gave you is for linking a borland's dll for Microsoft compiler. You want to do the opposite. Try implib sqlite3.dll. If it generates a .lib file then try linking to this file.

  2. #17
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Have you tried what I suggested earlier?
    implib -a -c -f sqlite3.lib sqlite3.dll

    Basically, I adapted the above from zlib.dll's usage.txt file.

    When you say something is not working, state what exactly you tried, and what exactly was the result.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #18
    Freak! IM!'s Avatar
    Join Date
    Dec 2004
    Location
    Zagreb, Croatia
    Posts
    30
    yeah laser I did adapted your command and it worked , I got the lib file and I put it into the lib folder. But how do I link it?
    Check out my Linux/C++ Programming DC++ HUB!
    5 GB min.// 2 slots// 1 GB must be Linux/C++

    HackLinux++

    Cya there!

  4. #19
    Freak! IM!'s Avatar
    Join Date
    Dec 2004
    Location
    Zagreb, Croatia
    Posts
    30
    OK I managed to link it in DevC++ and it works, but since I'm working with Borlands Compiler, could someone tell me how to link .lib files into it?
    Check out my Linux/C++ Programming DC++ HUB!
    5 GB min.// 2 slots// 1 GB must be Linux/C++

    HackLinux++

    Cya there!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ & Sqlite3
    By Sparrowhawk in forum Windows Programming
    Replies: 2
    Last Post: 03-11-2009, 01:33 PM
  2. SQLite not performing update
    By OnionKnight in forum C Programming
    Replies: 0
    Last Post: 01-21-2009, 04:21 PM
  3. setting up SQLite with Visual C++ Express
    By ac251404 in forum Windows Programming
    Replies: 6
    Last Post: 08-25-2006, 04:54 PM
  4. SQLite questions
    By ac251404 in forum C++ Programming
    Replies: 6
    Last Post: 08-22-2006, 11:00 AM
  5. How to using SQLite with WINAPI
    By nostromos in forum Windows Programming
    Replies: 1
    Last Post: 10-02-2005, 01:53 AM