marcucio / Cordova-WP-SqlitePlugin

14 stars 20 forks source link

Not able to build in release mode. #3

Closed govindk22 closed 10 years ago

govindk22 commented 10 years ago

If we build with all the build const in release mode lot of exceptions are occured in PhoneGap 2.7 runtime. Debug mode code works fine without an issue.

TRACE;DEBUG;SQLITE_SILVERLIGHT NET_40 TRUE WIN32 _MSC_VER SQLITE_DEBUG NDEBUG NO_TCL SQLITE_ASCII SQLITE_DISABLE_LFS SQLITE_HAS_CODEC SQLITE_MEM_POOL SQLITE_MUTEX_OMIT SQLITE_OMIT_AUTHORIZATION SQLITE_OMIT_DEPRECATED SQLITE_OMIT_GET_TABLE SQLITE_OMIT_INCRBLOB SQLITE_OMIT_LOOKASIDE SQLITE_OMIT_SHARED_CACHE SQLITE_OMIT_UTF16 SQLITE_OMIT_VIRTUALTABLE SQLITE_OMIT_WAL SQLITE_OS_WIN SQLITE_SYSTEM_MALLOC VDBE_PROFILE_OFF WINDOWS_PHONE Exception details A first chance exception of type 'SQLite.SQLiteException' occurred in Unknown Module. An exception of type 'SQLite.SQLiteException' occurred in PayOnTime.DLL and wasn't handled before a managed/native boundary A first chance exception of type 'SQLite.SQLiteException' occurred in PayOnTime.DLL An exception of type 'SQLite.SQLiteException' occurred in XXX.DLL and wasn't handled before a managed/native boundary

marcucio commented 10 years ago

are you using the sql lib provided in this library or are you using a different one? I provided the modified lib I was using because some people were having trouble compiling

govindk22 commented 10 years ago

I closed and reopened the project after installing sqllite for windows phone. And it works.

And also I dowloaded source files from Community.CsharpSqlite.WinPhone google code. Thanks for your work.