locked
sqllite RRS feed

  • Question

  • how to use sqllite for windows mobile (using c++ with visual studio for windows mobile development) . Can I have sample application for that and wt r the
    basic installation requirements for that.

    regards
    winningbrew
    Thursday, November 19, 2009 10:49 AM

Answers

All replies

  • Hi,

    You may want to try the following :-

    http://www.sqlite.org/support.html

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    • Marked as answer by warrentang Monday, November 23, 2009 5:47 AM
    Thursday, November 19, 2009 11:01 AM
  • thanks for reply .

    regards, 

    winningbrew
    Friday, November 20, 2009 6:18 AM
  • I downloaded code from sqlite-amalgamation-3_6_20.zip available in above link and created .dll and then used following code

    HINSTANCE sqlite3_dll = LoadLibrary(TEXT("sqllite3.dll"));
                    if (sqlite3_dll != NULL) {
                                      
                            _sqlite3_open = (SQLITE3_OPEN)GetProcAddress(sqlite3_dll,
                                        TEXT("sqlite3_open"));
                                        if (_sqlite3_open == NULL) {
                                          
                                        printf("Cannot load function sqlite3_open");
                                        return 0;
                                        }


    LoadLibrary works fine but  _sqlite3_open  is always null. wt could be the error.

    regards,
    winningbrew
    Friday, November 20, 2009 10:21 AM
  • I would suggest that you contact SQLite's support as Paul has shown you.
    Please mark the post that helps you, and unmark that does not. This benefits our community members.
    Monday, November 23, 2009 5:49 AM