Shocked to find can't init valentina with LiveCode

william humphrey bill at bluewatermaritime.com
Thu Mar 8 10:35:44 CST 2012


My last email should say use only the "v" commands.

On Thu, Mar 8, 2012 at 12:34 PM, william humphrey <
bill at bluewatermaritime.com> wrote:

> GREAT NEWS, My other advice is to not use any the "v" commands in livecode
> and don't use any of the livecode ones that are supposed to work with any
> database. Some don't work and some give spectacular crashes. I do just
> about everything with SQL calls in VDatabase_SqlSelect and am quit happy.
>
>
> On Thu, Mar 8, 2012 at 11:49 AM, Mike Bonner <bonnmike at gmail.com> wrote:
>
>> 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
>>>
>>>
>>
>> _______________________________________________
>> Valentina mailing list
>> Valentina at lists.macserve.net
>> http://lists.macserve.net/mailman/listinfo/valentina
>>
>>
>
>
> --
> http://www.bluewatermaritime.com
>



-- 
http://www.bluewatermaritime.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20120308/546f7f92/attachment-0001.html>


More information about the Valentina mailing list