sqlite3.lib was made by VC++;and already added to the sources file.

TARGETLIBS=sqlite3.lib


code:


#include <ntddk.h>
#include <stdio.h>
#include <sqlite3.h>


void database()
{
sqlite3 *db;
sqlite3_open("c:\\test.db",&db);
DbgPrint("hello,on it\n");
}


NTSTATUS DriverEntry(PDRIVER_OBJECT pDriverObj,PUNICODE_STRING pRegistryString)
{
database();
return 0;
}



      Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多!
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to