VRev ADK + Val Studio = Best Practice
Kay C Lan
lan.kc.macmail at gmail.com
Thu May 3 02:22:27 CDT 2012
Thanks Ivan, the problem was I wasn't closing the db properly in Studio, I
was just selecting another db from the left hand column. Now that I'm
explicitly telling the db to close I've been able to open LiveCode at the
same time.
I did think about the Server, but I have enough trouble just getting my
mind back into Valentina ADK mode that to add any idiosyncrasies regarding
the Server just isn't worth it right now.
A couple of clicks to Close and Open the database is a HUGE improvement
over Quiting and Starting.
Thanks
On Thu, May 3, 2012 at 2:22 PM, Ivan Smahin
<ivan_smahin at paradigmasoft.com>wrote:
>
> On May 3, 2012, at 5:22 AM, Kay C Lan wrote:
>
> Every now and then I get involved into a small project involving Valentina
> ADK & Revolution (LiveCode) so it normally takes me a little time to get
> the mind back up to speed.
>
> I just wish to confirm that the following is necessary:
>
> I regularly hit a snag where Val returns an Error code.
>
> To isolate whether it is a Val, Rev or more likely my code I start up Val
> Studio and enter the appropriate command there.
>
> To do that, as the ADK is a single instance, I need to Quit Rev, Start
> Studio, do my thing, then Quit Studio and Start Rev all over again.
>
> Am I wasting time here?
>
> I've tried issuing a closeCard command which contains
> VDatabase_Close(DbRef) and valentina_shutdown() commands, but that doesn't
> work. I've tried 'Close and Remove from memory" but that doesn't work - I
> assume as the Rev IDE is still running the Val extension is still loaded?
>
> I've tried de-selecting the DB in Studio but that doesn't work.
>
> Unless I Quit one, before I start the other, one will typically crash -
> usually Rev.
>
> So is there a trick to keeping both Studio and the Rev IDE running or
> must I always Quit one to work with the other?
>
>
> The only thing required for local database is db.Close() in LiveCode
> before db.Open in vStudio and vice versa.
> Also you can consider using vServer (at least for development) instead of
> local databases - there is free of such limits - any db can be accessed
> from different application simultaneously.
>
> --
> Best regards,
> Ivan Smahin
> Senior Software Engineer
> Paradigma Software, Inc
> Valentina - The Ultra-Fast Database
> http://www.valentina-db.com
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20120503/5d24c6b3/attachment.html>
More information about the Valentina
mailing list