<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/sqlite-wince/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/sqlite-wince/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/sqlite-wince/support-requests/</id><updated>2005-01-25T19:05:02Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>sqlite3_exec() problem in release configuration!</title><link href="https://sourceforge.net/p/sqlite-wince/support-requests/1/" rel="alternate"/><published>2005-01-25T19:05:02Z</published><updated>2005-01-25T19:05:02Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net0d5ef327607a19fc95659736a84fec4256d02be9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm having a problem executing any call to sqlite3_exec&lt;br /&gt;
() in release configuration. However, Everything works &lt;br /&gt;
just fine in debug mode.&lt;/p&gt;
&lt;p&gt;I have included the SQLite-WinCE project in statically &lt;br /&gt;
linked library to a utility dll. My client program uses &lt;br /&gt;
SQLite exported functions from the dll.&lt;/p&gt;
&lt;p&gt;The code I'm using is as follows:&lt;br /&gt;
1) sqlite3 *db = NULL;&lt;br /&gt;
2) char *szError = NULL;&lt;br /&gt;
3) ::DeleteFile(_T("\\EmpDB.db"));&lt;br /&gt;
4) sqlite3_open("\\EmpDB.db", &amp;amp;db);&lt;br /&gt;
5) sqlite3_exec(db, "create table Employee(ID char(10) &lt;br /&gt;
primary key, Name char(20));", NULL, NULL, &amp;amp;szError);&lt;br /&gt;
7) sqlite3_close(db);&lt;br /&gt;
8) db = NULL;&lt;/p&gt;
&lt;p&gt;The code executes as expected. When I switch to &lt;br /&gt;
release mode, the application crashes when it reachs &lt;br /&gt;
line 5.&lt;/p&gt;
&lt;p&gt;Any suggestion on what is going wrong?&lt;/p&gt;
&lt;p&gt;My email is khalid_omar@msn.com&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Khalid.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>