revOpenDatabase()

william humphrey bill at bluewatermaritime.com
Mon Apr 30 11:12:30 CDT 2012


What is the advantage of using revOpenDatabase() in comparison to:

*put* VConnection_Constructor("localhost", "sa", "sa", 15432) intogConnection

*put* VDatabase_Constructor( gConnection ) into gDatabase

*get* VDatabase_Open( gDatabase,testDB.vdb )


?

On Sun, Apr 29, 2012 at 6:00 PM, Marek Niesiobedzki <nm at studionm.pl> wrote:

> Hi Ruslan,
>
> I found that the problem to connect Vserver from LC using it's command
> revOpenDatabase() exists if there is port number:
>
> *put* revOpenDatabase ("Valentina4", "192.168.15.66:*15432*", "testDB",
> "sa", "sa") into tResult
> *put* revOpenDatabase ("Valentina4", "localhost:*15432*", "testDB", "sa",
> "sa") into tResult
> *put* revOpenDatabase ("Valentina4", "127.0.0.1:*15432*", "testDB", "sa",
> "sa") into tResult
>
> causing crash of LC (it's independent if localhost or LAN connection), but
> the same without port number:
>
> *put* revOpenDatabase ("Valentina4", "192.168.15.66", "testDB", "sa", "sa"
> ) into tResult
> *put* revOpenDatabase ("Valentina4", "localhost", "testDB", "sa", "sa")
> into tResult
> *put* revOpenDatabase ("Valentina4", "127.0.0.1", "testDB", "sa", "sa")
> into tResult
>
> works locally and over LAN.
>
> Marek
>
> _______________________________________________
> Valentina-beta mailing list
> Valentina-beta at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina-beta
>
>


-- 
http://www.bluewatermaritime.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina-beta/attachments/20120430/2761353e/attachment-0001.html>


More information about the Valentina-beta mailing list