[sqlite] Problem of using amalgamation with Visual C++ 2005

2012-02-05 Thread ASURADA
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. What I

Re: [sqlite] Library run-time error

2012-01-20 Thread ASURADA
qlite3.c sqlite3.h inside or two separate projects? -------- ASURADA wrote: >** *>* What's the problem. How to fix this problem.*>* (I use Visual C++ 2005 >on Windows 7 x64)*>* **In your pr

Re: [sqlite] Library run-time error

2012-01-20 Thread ASURADA
You have missing a point. I need 64bit static library. so I have to compile the sqlite. my solution is simple not complex. It was fine til v3.7.9. On Fri, Jan 20, 2012 at 10:21 AM, ASURADA http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users>> wrote: >* Solution*>* + SQLi

Re: [sqlite] Library run-time error

2012-01-20 Thread ASURADA
tructure. One Visual Studio test project with sqlite3.c sqlite3.h inside or two separate projects? ---- ASURADA wrote: >* *>* What's the problem. How to fix this problem.*>* (I use Visual C++ 2005

Re: [sqlite] Library run-time error

2012-01-20 Thread ASURADA
_WIN32_WINNT was defined by 0x0501 already. >* *>* What's the problem. How to fix this problem.*>* (I use Visual C++ 2005 >on Windows 7 x64)*>* * In your project, please define the _WIN32_WINNT macro to 0x500 and try again. -- Joe Mistachkin ___ sqli

Re: [sqlite] Library run-time error

2012-01-20 Thread ASURADA
This is call stack on Visual Studio 2005 () > SQLite3Test.exe!winFullPathname(sqlite3_vfs * pVfs=0x0055b6f8, const char * zRelative=0x002bff30, int nFull=261, char * zFull=0x002bb098) Line 35393 + 0x12 bytes C SQLite3Test.exe!sqlite3OsFullPathname(sqlite3_vfs * pVfs=0x0055b6f8, const

[sqlite] Library run-time error

2012-01-19 Thread ASURADA
I use sqlite library that is compiled by myself. Because I need static library and 64bit library. So I try to make library for version 3.7.10. It was successfully. No error occur on compile time. But It was not work. My SQLite library gave me a error message. My code is fine with 3.7.9. In case of