SQLite sqlite3_column_origin_name 函数 [英] SQLite sqlite3_column_origin_name function

查看:23
本文介绍了SQLite sqlite3_column_origin_name 函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为我用 C# 编写的应用程序下载了为 64 位 Windows (.NET Framework 4.0) 预编译的文件 sqlite.dll.

I've downloaded the file sqlite.dll precompiled for 64-bit Windows (.NET Framework 4.0) for my app written in C#.

(我关注这个线程:适用于 Windows 7 64 位的 SQLite3.dll)

使用我的旧 32 位 dll,函数 sqlite3_column_origin_name 可以正常工作,但是对于 64 位的最新版本,此函数给我一个错误:

With my old 32-bit dll the function sqlite3_column_origin_name works correctly, but with latest version for 64-bit, this function give me an error:

[DllImport("sqlite3.dll", EntryPoint = "sqlite3_column_origin_name")]
static extern string sqlite3_column_origin_name(IntPtr stmHandle, int iCol);

我使用 DLL 导出查看器将导出的函数读入这个 dll 并且这个函数出现了.

I use DLL Export Viewer to read exported functions into this dll and this function happears.

有人可以帮我吗?

附加错误"的屏幕截图

推荐答案

最后,我找到了解决方案.我从 sqlite.org 下载了软件包,并且将非托管代码与预编译的二进制文件结合使用.

Finally, I've found solution. I've downloaded package from sqlite.org and I've used unmanaged code in combo with precompiled binaries.

这篇关于SQLite sqlite3_column_origin_name 函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆