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.  <div>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.</div>
<div><br></div><div>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. </div>
<div><br></div><div><br><br><div class="gmail_quote">On Thu, Mar 8, 2012 at 8:33 AM, william humphrey <span dir="ltr"><<a href="mailto:bill@bluewatermaritime.com">bill@bluewatermaritime.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.
<div><br></div><div>In your stack connection should look like (in this order):</div><div><br></div><div><p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande';color:#1e0090"><span style="color:#000000">  </span><span style="color:#8e920e"><b>get</b></span><span style="color:#000000"> Valentina_InitClient( </span>10<span style="color:#000000"> * </span>1024<span style="color:#000000"> * </span>1024<span style="color:#000000">,</span>"extremely long serial number stuff here"<span style="color:#000000">,)</span></p>


<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande';color:#019103"><span style="color:#000000">   </span><b>-- There has been a change so maybe serial numbers aren't needed now?</b></p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">   <span style="color:#8e920e"><b>get</b></span> Valentina_DebugLevel(<span style="color:#1e0090">"kLogParams"</span>)</p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande';color:#019103"><span style="color:#000000">   </span><b>-- first establish connectionRef as gConnection</b></p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">   <span style="color:#8e920e"><b>put</b></span> VConnection_Constructor(<span style="color:#1e0090">"localhost"</span>, <span style="color:#1e0090">"sa"</span>, <span style="color:#1e0090">"sa"</span>, <span style="color:#1e0090">15432</span>) <span style="color:#910a91">into</span> gConnection</p>


<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande';color:#019103"><span style="color:#000000">   </span><b>-- next you establish dbRef as gDatabase</b></p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">   <span style="color:#8e920e"><b>put</b></span> VDatabase_Constructor( gConnection ) <span style="color:#910a91">into</span> gDatabase</p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">   <span style="color:#8e920e"><b>get</b></span> VDatabase_DateFormat(gDatabase, <span style="color:#1e0090">"kYMD"</span>)</p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">   <span style="color:#8e920e"><b>get</b></span> VDatabase_DateSep(gDatabase, <span style="color:#1e0090">"-"</span>)</p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">   <span style="color:#8e920e"><b>get</b></span> VDatabase_Open( gDatabase, b_l_database.vdb )</p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande';min-height:15.0px">   </p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">   <b>if</b> it <span style="color:#910a91">contains</span> <span style="color:#1e0090">"ERROR"</span> <b>then</b>    </p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande';color:#1e0090"><span style="color:#000000">      </span><span style="color:#8e920e"><b>answer</b></span><span style="color:#000000"> </span>"there was an error in DatabaseOpen"</p>


<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">            <b>exit</b> <span style="color:#910a91">to</span> <span style="color:#1f9091">top</span></p>
<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">   <b>end</b> <b>if</b></p></div>
<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>
<br></blockquote></div><br></div>