Re: [sqlite] Seg fault after calling sqlite3_exec while running under cygwin

2007-12-11 Thread Simon Davies
Hi John, initdb() does not modify the db handle in main(). Call should be: err_c = initdb(); and initdb prototype should be int initdb(sqlite3** db) etc... Rgds, Simon On 11/12/2007, John Williams <[EMAIL PROTECTED]> wrote: > I forgot to attach my sample code to my previous

Re: [sqlite] Seg fault after calling sqlite3_exec while running under cygwin

2007-12-10 Thread Dan
On Dec 11, 2007, at 10:37 AM, John Williams wrote: I'm new to using sqlite, so I'm writing a rather simple piece of software for a friend that I would normally just use my own file stucture...but being that I want to learn about sqlite here I am. I should note that since the and program

Re: [sqlite] Seg fault after calling sqlite3_exec while running under cygwin

2007-12-10 Thread James Steward
On Mon, 2007-12-10 at 20:37 -0700, John Williams wrote: > Since I'm not really sure where the problem is I've attached a zip of my c > files. AptAssist.c is my main file and contains the full program. > Temp.cis a simple pull out of the problem function. I didn't get an attachment. Did anyone?

[sqlite] Seg fault after calling sqlite3_exec while running under cygwin

2007-12-10 Thread John Williams
I'm new to using sqlite, so I'm writing a rather simple piece of software for a friend that I would normally just use my own file stucture...but being that I want to learn about sqlite here I am. I should note that since the and program is destined for windows computers I'm doing my development