Andreas Volz wrote: > Am Sun, 25 Nov 2007 12:11:50 +0100 schrieb Andreas Volz: > >> Hello, >> >> I used this minimal example code to test my sqlite connection. This >> works without problems. But now I tried to move the 'db' variable into >> the private member section of my 'Cache' class to access it from >> various member functions. That's all. I would assume that this makes >> no difference. But my app crash at sqlite3_open() > > Seems as it was a strange memory bug here. Forget my question.
Andreas, While there might be a strange memory bug going on, the bigger issue is that if you have a db member of the Cache class, you're declaring a local db variable that's masking the member. That could be leading to unexpected results later on if you're expecting to use it. Clay -- Lazarus Registration http://www.lazarusid.com/registration.shtml ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------