What is the advantage of using revOpenDatabase() in comparison to:<div><p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'"><span style="color:#928f1a"><b>put</b></span> VConnection_Constructor(<span style="color:#00188f">"localhost"</span>, <span style="color:#00188f">"sa"</span>, <span style="color:#00188f">"sa"</span>, <span style="color:#00188f">15432</span>) <span style="color:#951d90">into</span> gConnection</p>

<p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'"><span style="color:#928f1a"><b>put</b></span> VDatabase_Constructor( gConnection ) <span style="color:#951d90">into</span> gDatabase</p><div><p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">
<span style="color:#928f1a"><b>get</b></span> VDatabase_Open( gDatabase,testDB.vdb )</p><p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'"><br></p><p style="margin:0px 0px 0px 0px;font:12.0px 'Lucida Grande'">
?</p><br><div class="gmail_quote">On Sun, Apr 29, 2012 at 6:00 PM, Marek Niesiobedzki <span dir="ltr"><<a href="mailto:nm@studionm.pl" target="_blank">nm@studionm.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi Ruslan,<div><br></div><div>I found that the problem to connect Vserver from LC using it's command revOpenDatabase() exists if there is port number:<div><br></div><div><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(145,145,0)"><b>put</b></span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)"> revOpenDatabase (</span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"Valentina4"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">, </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"<a href="http://192.168.15.66" target="_blank">192.168.15.66</a>:</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><b>15432</b></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">, </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"testDB"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">, </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"sa"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">, </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"sa"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">) </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(145,0,145)">into</span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)"> tResult</span></span></div>
<div><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(145,145,0)"><b>put</b></span><span style="color:rgb(0,0,0)"> revOpenDatabase (</span>"Valentina4"<span style="color:rgb(0,0,0)">, </span>"localhost:<b>15432</b>"<span style="color:rgb(0,0,0)">, </span>"testDB"<span style="color:rgb(0,0,0)">, </span>"sa"<span style="color:rgb(0,0,0)">, </span>"sa"<span style="color:rgb(0,0,0)">) </span><span style="color:rgb(145,0,145)">into</span><span style="color:rgb(0,0,0)"> tResult</span></span></div>
<div><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(145,145,0)"><b>put</b></span><span style="color:rgb(0,0,0)"> revOpenDatabase (</span>"Valentina4"<span style="color:rgb(0,0,0)">, </span>"<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>:<b>15432</b>"<span style="color:rgb(0,0,0)">, </span>"testDB"<span style="color:rgb(0,0,0)">, </span>"sa"<span style="color:rgb(0,0,0)">, </span>"sa"<span style="color:rgb(0,0,0)">) </span><span style="color:rgb(145,0,145)">into</span><span style="color:rgb(0,0,0)"> tResult</span></span></div>
<div><br></div><div>causing crash of LC (it's independent if localhost or LAN connection), but the same without port number:</div><div><br></div><div><div><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(145,145,0)"><b>put</b></span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)"> revOpenDatabase (</span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"Valentina4"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">, </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"192.168.15.66</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">, </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"testDB"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">, </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"sa"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">, </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'">"sa"</span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)">) </span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(145,0,145)">into</span></span><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(0,0,0)"> tResult</span></span></div>
<div><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(145,145,0)"><b>put</b></span><span style="color:rgb(0,0,0)"> revOpenDatabase (</span>"Valentina4"<span style="color:rgb(0,0,0)">, </span>"localhost"<span style="color:rgb(0,0,0)">, </span>"testDB"<span style="color:rgb(0,0,0)">, </span>"sa"<span style="color:rgb(0,0,0)">, </span>"sa"<span style="color:rgb(0,0,0)">) </span><span style="color:rgb(145,0,145)">into</span><span style="color:rgb(0,0,0)"> tResult</span></span></div>
<div><span style="color:rgb(0,0,146);font-family:'Lucida Grande'"><span style="color:rgb(145,145,0)"><b>put</b></span><span style="color:rgb(0,0,0)"> revOpenDatabase (</span>"Valentina4"<span style="color:rgb(0,0,0)">, </span>"127.0.0.1"<span style="color:rgb(0,0,0)">, </span>"testDB"<span style="color:rgb(0,0,0)">, </span>"sa"<span style="color:rgb(0,0,0)">, </span>"sa"<span style="color:rgb(0,0,0)">) </span><span style="color:rgb(145,0,145)">into</span><span style="color:rgb(0,0,0)"> tResult</span></span></div>
</div><div><br></div><div>works locally and over LAN.</div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Marek</div></font></span></div><br>_______________________________________________<br>
Valentina-beta mailing list<br>
<a href="mailto:Valentina-beta@lists.macserve.net">Valentina-beta@lists.macserve.net</a><br>
<a href="http://lists.macserve.net/mailman/listinfo/valentina-beta" target="_blank">http://lists.macserve.net/mailman/listinfo/valentina-beta</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://www.bluewatermaritime.com">http://www.bluewatermaritime.com</a><br>
</div></div>