Login  Register

I give up...

Posted by Sean Malloy-2 on May 21, 2004; 4:32am
URL: https://forum.world.st/I-give-up-tp3370619.html

I've been banging my head against this damned sqlite library. I couldn't get
the squeak version working in dolphin. Someone mentioned to use the callback
features of sqlite, because dolphin supports callbacks nicely.

So I get callback version working. But I get these exceptions occurring.

a GPFault('Invalid access to memory location. Reading 0x68, IP 0x673E691F
(C:\Documents and Settings\Sean\My Documents\Dolphin Smalltalk 5.1\Sean
Malloy\SQLITE.dll)')

I've posted the code (Please note Sqlite Test.st is not unit tests, just a
simple couple of lines to show the error occurring)

http://www.arcturus.com.au/Dolphin_Sqlite.zip

My suspicion was that the callback block was being garbage collected, but
the output to the transcript is actually occurring, so the damn thing IS
being called. So I don't know what the hell is going on.

Anyone offer an explanation as to the cause of the exception?