SlimApp

好泛滥

Marshal UTF8 Strings in .NET

Marshal UTF8 Strings in .NET Wow, what a pain in the butt. .NET strings are stored internally as UTF16, not UTF8, so if you're marshaling stri...

2012-08-08 14:56:42

阅读数:991

评论数:0

在C#中如何调用libsqlite3中的返回值为char *的函数

之前写了在C#中调用libsqlite3中函数的一些代码: [DllImport("sqlite3.dll")]   private extern staticstring sqlite3_column_text(IntPtr pStmt, int iCol);...

2012-08-08 14:53:35

阅读数:963

评论数:0

sqlite3 api学习笔记

sqlite3中有5种数据类型:int real text null blob 但sqlite3中的列的数据类型不是固定的,列的数据类型随着实际插入的数据的格式而定;   在sqlite3中使用sql时,有一个非常有趣而有强大的概念:相似类型。引入相似类型的概念,主要是为了兼容各种数据库...

2012-08-07 20:47:55

阅读数:551

评论数:0

如何在unity3D的C#中调用libsqlite3(完整代码)

在unity中尝试使用sqlite,本打算用Mono.Data.Sqlite,但发现Mono.Data.Sqlite有bug,把unity 项目导出成iOS项目,编译后,运行程序就挂了,只好自己在C#直接调用底层的libsqlite3库。 using UnityEngine;...

2012-08-06 18:24:59

阅读数:2236

评论数:1

sqlite3_close()

Closing A Database Connection int sqlite3_close(sqlite3 *); The sqlite3_close() routine is the destructor for the sqlite3 object. Calls to sql...

2012-08-05 09:17:27

阅读数:674

评论数:0

sqlite3_finalize()

Destroy A Prepared Statement Object int sqlite3_finalize(sqlite3_stmt *pStmt); The sqlite3_finalize() function is called to delete a prepared ...

2012-08-05 09:16:59

阅读数:1571

评论数:0

sqlite3_column()

Result Values From A Query const void *sqlite3_column_blob(sqlite3_stmt*, int iCol); int sqlite3_column_bytes(sqlite3_stmt*, int iCol); int sqlite...

2012-08-05 09:16:28

阅读数:1213

评论数:0

sqlite3_step()

Evaluate An SQL Statement int sqlite3_step(sqlite3_stmt*); After a prepared statement has been prepared using either sqlite3_prepare_v2() or s...

2012-08-05 09:15:19

阅读数:759

评论数:0

sqlite3_prepare()

Compiling An SQL Statement int sqlite3_prepare( sqlite3 *db, /* Database handle */ const char *zSql, /* SQL statement, UTF-8 ...

2012-08-05 09:14:45

阅读数:728

评论数:0

sqlite3_open()

Opening A New Database Connection int sqlite3_open( const char *filename, /* Database filename (UTF-8) */ sqlite3 **ppDb /* OUT: SQ...

2012-08-05 09:14:05

阅读数:1012

评论数:0

Error Codes And Messages

Error Codes And Messages int sqlite3_errcode(sqlite3 *db); int sqlite3_extended_errcode(sqlite3 *db); const char *sqlite3_errmsg(sqlite3*); const ...

2012-08-05 09:00:54

阅读数:419

评论数:0

An Introduction To The SQLite C/C++ Interface

from: http://www.sqlite.org/cintro.html An Introduction To The SQLite C/C++ Interface This article provides an overview and roadmap to the C/C++ in...

2012-08-04 23:42:45

阅读数:529

评论数:0

sqlite3中的数据类型

Most SQL database engines (every SQL database engine other than SQLite, as far as we know) uses static, rigid typing. With static typing, the datatyp...

2012-08-04 13:50:05

阅读数:683

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭