Shocked to find can't init valentina with LiveCode

Mike Bonner bonnmike at gmail.com
Thu Mar 8 09:49:39 CST 2012


I'm finally figuring things out, I believe valentina_initClient doesn't
require a serial (and i can't make it work if I put one in) not sure it
even takes a cache size.
valentina_init() DOES take cache size and serials. I think the premise is
that if you're using the client version you must have a valid license for
one of the valentina servers so that the serial for the adk isn't needed in
that situation.

Found all the example stacks thx to barry that came with the adk. Have NO
idea how long i've been fighting all this stuff for so long using the wiki
tutorial. Gave up every time I tried but hey, with the example stacks there
are actual working setups that can be ripped apart so i'm suddenly in happy
land.



On Thu, Mar 8, 2012 at 8:33 AM, william humphrey <bill at bluewatermaritime.com
> wrote:

> I've never had much luck with the samples either. I think someone should
> go through and test every sample with latest Mac OS operating system and
> latest LiveCode and latest Valentina install and just delete all the
> samples which no longer work. It would be wonderful if the samples were
> designed for a first time user.
>
> In your stack connection should look like (in this order):
>
>   *get* Valentina_InitClient( 10 * 1024 * 1024,"extremely long serial
> number stuff here",)
>
>    *-- There has been a change so maybe serial numbers aren't needed now?*
>
>    *get* Valentina_DebugLevel("kLogParams")
>
>    *-- first establish connectionRef as gConnection*
>
>    *put* VConnection_Constructor("localhost", "sa", "sa", 15432) intogConnection
>
>    *-- next you establish dbRef as gDatabase*
>
>    *put* VDatabase_Constructor( gConnection ) into gDatabase
>
>    *get* VDatabase_DateFormat(gDatabase, "kYMD")
>
>    *get* VDatabase_DateSep(gDatabase, "-")
>
>    *get* VDatabase_Open( gDatabase, b_l_database.vdb )
>
>
>
>    *if* it contains "ERROR" *then*
>
>       *answer* "there was an error in DatabaseOpen"
>
>             *exit* to top
>
>    *end* *if*
>
> _______________________________________________
> 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/20120308/ce195a6b/attachment.html>


More information about the Valentina mailing list