当前位置: 代码迷 >> J2EE >> java中如何使用sqlite3.dll
  详细解决方案

java中如何使用sqlite3.dll

热度:529   发布时间:2016-04-22 02:29:04.0
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
  相关解决方案