Closing RevDB connection that was opened from a Valentina connection?
william humphrey
bill at bluewatermaritime.com
Fri Sep 18 13:09:26 CDT 2009
Trevor
I'm so glad to see you working on making Valentina work with your db
abstraction layer. I've also noticed that some of the commands in the test
stacks don't work. I notice that in my stacks I've been closing my database
with
*put* VDatabase_Destructor( mDatabase ) into mDatabase
and it has been working.
On Fri, Sep 18, 2009 at 1:18 PM, Trevor DeVore <lists at mangomultimedia.com>wrote:
> I'm looking at the test stack for Revolution. On card id 1020 there is
> a test handler called Test_V4REV_VDatabase_ToRevDb. The test converts
> an open Valentina database reference to a RevDB connection.
>
> put revOpenDatabase("Valentina2","",mDatabase,"","") into mDbID
>
> The test stack then goes on to close down the Valentina database using
> VDatabase_Close/Destructor. The problem is that the RevDB is never
> cleared out so calling revOpenDatabases() still reports an open
> database connection.
>
> In my experiments so far revCloseDatabase gets upset and crashes
> Revolution if I try to close a connection that was created from a
> Valentina database reference. What is the recommended way of closing
> both the Valentina database connection and the RevDB connection?
>
> --
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps: http://www.screensteps.com
> Application Development with Revolution Course:
> http://revolution.bluemangolearning.com/software/revproappdev/
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
--
http://www.bluewatermaritime.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macserve.net/pipermail/valentina/attachments/20090918/c8c55a99/attachment.html
More information about the Valentina
mailing list