Trevor<div><br></div><div>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</div>
<div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"><span style="color: #7f7f00"><b>put</b></span> VDatabase_Destructor( mDatabase ) <span style="color: #7f007f">into</span> mDatabase</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">and it has been working.</p><br><div class="gmail_quote">On Fri, Sep 18, 2009 at 1:18 PM, Trevor DeVore <span dir="ltr"><<a href="mailto:lists@mangomultimedia.com">lists@mangomultimedia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm looking at the test stack for Revolution. On card id 1020 there is<br>
a test handler called Test_V4REV_VDatabase_ToRevDb. The test converts<br>
an open Valentina database reference to a RevDB connection.<br>
<br>
put revOpenDatabase("Valentina2","",mDatabase,"","") into mDbID<br>
<br>
The test stack then goes on to close down the Valentina database using<br>
VDatabase_Close/Destructor. The problem is that the RevDB is never<br>
cleared out so calling revOpenDatabases() still reports an open<br>
database connection.<br>
<br>
In my experiments so far revCloseDatabase gets upset and crashes<br>
Revolution if I try to close a connection that was created from a<br>
Valentina database reference. What is the recommended way of closing<br>
both the Valentina database connection and the RevDB connection?<br>
<br>
--<br>
<font color="#888888">Trevor DeVore<br>
Blue Mango Learning Systems<br>
ScreenSteps: <a href="http://www.screensteps.com" target="_blank">http://www.screensteps.com</a><br>
Application Development with Revolution Course: <a href="http://revolution.bluemangolearning.com/software/revproappdev/" target="_blank">http://revolution.bluemangolearning.com/software/revproappdev/</a><br>
_______________________________________________<br>
Valentina mailing list<br>
<a href="mailto:Valentina@lists.macserve.net">Valentina@lists.macserve.net</a><br>
<a href="http://lists.macserve.net/mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/mailman/listinfo/valentina</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.bluewatermaritime.com">http://www.bluewatermaritime.com</a><br>
</div>