On Mon, Feb 6, 2012 at 2:35 AM, ASURADA <[email protected]> wrote:

> I was test about insert sqlite library to mfc project.
> I used amalgamaion files of version 3.7.10.
>
> It was fail with Visual C++ 2005. but success with Visual C++ 2010.
>
> The error occured on 35393 line of sqlite3.c when It call the
> sqlite3_open().
>
> Why Visual C++ 2005 is different from 2010.
>

Without looking at your project, I will guess that the problem is the one
addressed at http://www.sqlite.org/src/info/1ce4d21d52 - namely that vs2005
fails to set the _WINNT_WIN32 C preprocessor macro correctly and hence
requires that either you set it yourself in your environment, or that you
using the work-around provided in the link above.



>
> What I have to do for use amalgmation source on Visual C++ 2005.
>
> "http://www.box.com/s/skyaz15c1f9dy9cpe4pn"; is address of my test project.
> If you have interest my situation, please download and run the porject.
> Please find my fault.
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to