Re: [sqlite] Library run-time error

2012-01-20 Thread Jens Frederich
On Fri, Jan 20, 2012 at 12:40 PM, ASURADA wrote: > You have missing a point. > I need 64bit static library. so I have to compile the sqlite. > Why you need a static library? For testing, you can direct embed the Sqlite source in the test app.                               Jens __

Re: [sqlite] Library run-time error

2012-01-20 Thread ASURADA
I was tried SQLite3Test and SQLite3Static with "#define _WIN32_WINNT 0x0501" macro. but It's not work. Please make sure the _WIN32_WINNT macro is defined in all your projects then (and for all build configurations). -- Joe Mistachkin Solution + SQLite3 (Dynamic Library) + SQLite3Static (Stat

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*>* + SQLite3 (Dynamic Li

Re: [sqlite] Library run-time error

2012-01-20 Thread Joe Mistachkin
Please make sure the _WIN32_WINNT macro is defined in all your projects then (and for all build configurations). -- Joe Mistachkin ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Library run-time error

2012-01-20 Thread Jens Frederich
On Fri, Jan 20, 2012 at 10:21 AM, ASURADA wrote: > Solution > + SQLite3 (Dynamic Library) > + SQLite3Static (Static Library) > + SQLite3Test Please simplify the setup. Please add sqlite3.c, sqlite3.h, sqlite3ext.h direct to SQLite3Test project. Remove the project SQLite3 and SQLite3Static depende

Re: [sqlite] Library run-time error

2012-01-20 Thread ASURADA
Solution + SQLite3 (Dynamic Library) + SQLite3Static (Static Library) + SQLite3Test Directory of Z:\...\SQLite3Library\sqlite 2012-01-16 23:0491,925 shell.c 2012-01-20 17:50 4,711,082 sqlite3.c 2012-01-16 23:06 4,227 sqlite3.def 2012-01-16 23:06 577,6

Re: [sqlite] Library run-time error

2012-01-20 Thread Jens Frederich
Can you describe your project structure. One Visual Studio test project with sqlite3.c sqlite3.h inside or two separate projects?                               Jens ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mail

Re: [sqlite] Library run-time error

2012-01-20 Thread Joe Mistachkin
ASURADA wrote: > > _WIN32_WINNT was defined by 0x0501 already. > It must be defined in the project that you are using to actually compile the SQLite source code (i.e. not just the project that uses the SQLite code, unless they are in fact the same project). -- Joe Mistachkin __

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

Re: [sqlite] Library run-time error

2012-01-19 Thread Joe Mistachkin
ASURADA wrote: > > 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 ___ sqlite-users mailing list sqlite-users@s

Re: [sqlite] Library run-time error

2012-01-19 Thread Jens Frederich
On Thu, Jan 19, 2012 at 11:40 AM, ASURADA wrote: > > Error Message > == > Unhandled exception at 0x in SQLite3Test.exe: 0xC005: Access > violation reading location 0x. Hi, has you build a debug version of your test app and library? Any stack trace infor