日期:2014-05-20  浏览次数:20670 次

java中怎么使用sqlite3.dll
sqlite3.dll中的声明是
C/C++ code

int sqlite3_open(const char*, sqlite3**);

在c#中可以这样声明
C# code

[DllImport("sqlite3.dll", EntryPoint = "sqlite3_open",CallingConvention=CallingConvention.Cdecl)]
 public static extern int sqlite3_open(string  filename, out IntPtr db);

在delphi中声明是:
Delphi(Pascal) code

 SQLite3_Open: function(dbname: PAnsiChar; var db: pointer): integer; cdecl;


我想知道在java中怎么使用?谢谢了

------解决方案--------------------
正面寻求的话,不妨看看这个:
http://tvjody.iteye.com/blog/125643