Severin, The "sqlite3_open( )" call is hard to break. Try breakpointing into the sqlite3 source code to see what the failure is.
Lee Crain __________________________ -----Original Message----- From: Severin Müller [mailto:[EMAIL PROTECTED] Sent: Monday, August 06, 2007 4:42 PM To: sqlite-users@sqlite.org Subject: RE: [sqlite] Security Problem C/C++ Hey I don't even get to call the sqlite3_errmsg() function. My Program crashes with the call sqlite3_open(filename,&db); I'm been spending hours now, to figure out, what may cause that crap :) I really have no idea... -----Original Message----- From: Clay Dowling [mailto:[EMAIL PROTECTED] Sent: Montag, 6. August 2007 22:27 To: sqlite-users@sqlite.org Subject: Re: [sqlite] Security Problem C/C++ Check the result code of sqlite3_open and use the error message from sqlite3_errmsg as the message in your exception. Then you'll know what's wrong. Clay Severin Müller wrote: > Hi > > > > Im trying to use SQLite3 for my File, but Im having trouble to use the > library properly. > > > > I Have to following Code: > > > > void Nickserv::write_nickname(std::string nick,std::string > pass,std::string > email,User user) > > { > > #ifdef _WIN32 > > const char *filename = "db\\Nickserv.db"; > > #else > > const char *filename = "db/Nickserv.db"; > > #endif > > sqlite3 *db; > > sqlite3_open(filename,&db); > > } > > > > When i run the Program, I get get the following Error: > > > > Unhandled exception so its some kind of a segmentation fault. > > > > And my Debugger is tracing the error in a file called gs_support. > > > > > > Now, I really cant figure out, what the Problem is. Are certain > Architectures not supported? Im Using Win32 on a Pentium 4. > > > > Thanks for your help in Advance. > > > > > > Greetings > > > > > Severin Mueller > > Switzerland > > > > -- Lazarus Registration http://www.lazarusid.com/registration.shtml -------------------------------------------------------------------------- -- - To unsubscribe, send email to [EMAIL PROTECTED] -------------------------------------------------------------------------- -- - -------------------------------------------------------------------------- --- To unsubscribe, send email to [EMAIL PROTECTED] -------------------------------------------------------------------------- --- ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------