Re: [sqlite] Virtual tables are driving me insane!

2012-09-24 Thread Jörgen Hägglund
Thanks OBones! Your link gave me the solution to why my code didn't work! It was (of course) I who made an error in translating function parameters from C to Pascal! Best regards! /Jörgen sqlite-users-requ...@sqlite.org skrev 2012-09-24 18:00: Re: [sqlite] Virtual tables are drivi

Re: [sqlite] Virtual tables are driving me insane!

2012-09-24 Thread OBones
Hello, have a look at what's here: http://code.google.com/p/sv-utils/wiki/Intro There is a complete and unit tested encapsulation for SQlite and its virtual tables. Regards ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:808

Re: [sqlite] Virtual tables are driving me insane!

2012-09-21 Thread Jay A. Kreibich
On Fri, Sep 21, 2012 at 11:44:09PM +0200, Jörgen Hägglund scratched on the wall: > I tried creating a super simple test which just return "default" > values on all calls. > This is the order my functions are being called: > xCreate (enter function) > xCreate (exit function) > xConnect (enter funct

Re: [sqlite] Virtual tables are driving me insane!

2012-09-21 Thread Clemens Ladisch
Jörgen Hägglund wrote: > I'm trying to implement virtual tables, but I seem to be in over > my head with this. > I get an access violation in SQLite3.dll (reading of address 0008) > > Does anyone have any ideas to what I'm doing wrong? Not really. But one mistake I had made was to read this p

Re: [sqlite] Virtual tables are driving me insane!

2012-09-21 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/09/12 14:44, Jörgen Hägglund wrote: > At this point I get an access violation in SQLite3.dll (reading of > address 0008) You are reading the third member of a structure that is NULL. You should use a debugger that catches this sort of thing

[sqlite] Virtual tables are driving me insane!

2012-09-21 Thread Jörgen Hägglund
Hi all! First off, my configuration: Windows 7 Ultimate x64 SQLite3 v3.7.14 Amalgamation, compiled to DLL using VS2010 Used directives: SQLITE_4_BYTE_ALIGNED_MALLOC (*) SQLITE_THREADSAFE=2 SQLITE_OMIT_DEPRECATED SQLITE_DEBUG (*) SQLITE_MEMDEBUG (*) (*) T