Re: [sqlite] Cannot retrieve SQLite Db Data Immediately After Application Startup

2014-09-05 Thread Bob Moran
the call. Bob Moran On Fri, Sep 5, 2014 at 10:15 AM, Nelson, Erik - 2 < erik.l.nel...@bankofamerica.com> wrote: > Bob Moran wrote on: Friday, September 05, 2014 12:07 AM > > On Wed, Sep 3, 2014 at 1:29 PM, Nelson, Erik - 2 < > > erik.l.nel...@bankofamerica.com> wrote

Re: [sqlite] Cannot retrieve SQLite Db Data Immediately After Application Startup

2014-09-04 Thread Bob Moran
Erik, Are you implying that I must copy the text returned by qPrintable(sql) to a safe location before calling a method that uses it? I thought that the string would be valid until I return from the routine. Bob Moran On Wed, Sep 3, 2014 at 1:29 PM, Nelson, Erik - 2 < erik.l.

Re: [sqlite] Cannot retrieve SQLite Db Data Immediately After Application Startup

2014-09-03 Thread Bob Moran
Thank you for the prompt responses. Bob Moran -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Simon Slavin Sent: Wednesday, September 03, 2014 12:41 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Cannot

Re: [sqlite] Cannot retrieve SQLite Db Data Immediately After Application Startup

2014-09-03 Thread Bob Moran
tely After Application Startup > On 3 Sep 2014, at 5:24am, Bob Moran <bmo...@cicaccess.com> wrote: > > Found more of what the issue is. I noticed that my SQL text was being > overwritten on the return from the call to prepare_v2. > Stepping through the SQlite3 code I discov

Re: [sqlite] Cannot retrieve SQLite Db Data Immediately After Application Startup

2014-09-03 Thread Bob Moran
I am using the amalgamation. Simply added the SQLITE3.c and .H files to my project. I am developing with VisualGDB (VS 2010) cross compiling (building on Windows 7, running on RPI). No added compiler directives (hopefully, that is the problem). Bob Moran -Original Message- From: sqlite

Re: [sqlite] Cannot retrieve SQLite Db Data Immediately After Application Startup

2014-09-02 Thread Bob Moran
as to why. My string is on the heap. If I wait some time before making the call (my program is just waiting for input, then the malloc call returns a pointer far removed from my passed in SQL text. Must be some kind on Linux issue? Bob Moran Continental Access / NAPCO Security Technologies 355

[sqlite] Cannot retrieve SQLite Db Data Immediately After Application Startup

2014-08-30 Thread Bob Moran
ing. No internal errors were being set Any suggestions would be appreciated. Bob Moran ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users