in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Windows Logon Context (C++)

Last post 07-06-2010 4:28 AM by sunshine. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-06-2010 3:27 AM

    • Juve86
    • Not Ranked
    • Joined on 07-06-2010
    • Posts 2

    Windows Logon Context (C++)

     Hi

     I'm developing a biometric Credential Provider's for Windows, and I'm storing fingerprint information to database. This information should be encrypted on a database for increase the system security.
    Now I'm studying the possibility of include System.Data.Sqlite dll, but when call sqlite_key(...) function in logon context, I get returns 2. Otherwise, when I execute this code in a normal context works properly.

    Sample code:
    //Logon context

    int error = sqlite3_open("C:\\WINDOWS\\system32\\testpw2.db3", &db);
    error = sqlite3_key(db,"1111",strlen("1111")); //error = 2 ->SQLITE_INTERNAL(An internal logic error in SQLite)

    //Normal context:

    int error = sqlite3_open("C:\\WINDOWS\\system32\\testpw2.db3", &db);
    error = sqlite3_key(db,"1111",strlen("1111")); //SQLITE_OK

    Can help me anyone?

    PD:Sorry for my poor English.

    Thanks and regards,
    Héctor Navarro

  • 07-06-2010 4:28 AM In reply to

    Re: Windows Logon Context (C++)

    Hi Héctor. Your question is general to SQLite, rather than specific to the managed wrapper System.Data.SQLite. Therefore, you probably can get a better and faster response from the 'sqlite-users' mailing list: http://www.sqlite.org/support.html

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems