The exec() function, the one that uses callbacks, is deprecated. You should use the prepare, bind, step routines: sqlite3_prepare(), sqlite3_bind_text(), sqlite3_step() The nice side effect is you don't have to use globals, callbacks, or the goofy work around for the 'this' pointer in your callback class method.
--- aleks ponjavic <[EMAIL PROTECTED]> wrote: > I was using global variables to transfer data from the callback to my > class, > but now I need this function in two classes. Thus the global > variables > collide causing a multiple defintion, therefore I'm trying to wrap > the > callback into my class. --------------------------------- You a Gamer? If you're near Kansas City, ask me about the Recruits and Conquest conventions. --------------------------------- The Castles of Dereth Calendar: a tour of the art and architecture of Asheron's Call http://www.lulu.com/content/77264 __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/