dbInfoRef

Ivan Smahin ivan_smahin at paradigmasoft.com
Sat Sep 19 02:40:43 CDT 2015


put VConnection_Constructor( "localhost", "sa", "sa") into mConn
...
put VServer_New( mConn ) into serverRef
put 1 into dbIndex
put VServer_DatabaseInfo( serverRef, dbIndex ) into dbInfoRef
...

> On Sep 18, 2015, at 6:26 PM, william humphrey <bill at bluewatermaritime.com> wrote:
> 
> never mind. I got confused as to what version of Valentina is the most recent.  So I'm still getting crashes. Instead of this old method
> 
> It should be something like this one:
> 
> put VServer_New( connectionRef ) into serverRef
> put 1 into dbIndex
> put VServer_DatabaseInfo( serverRef, dbIndex ) into dbInfoRef
> 
> I would like to use something like
> put VConnection_Constructor(gDbServer2, "sa", "sa", 15432) into serverRef
> put 1 into dbIndex
> put VServer_DatabaseInfo( serverRef, dbIndex ) into dbInfoRef
> 
> But this crashes LiveCode every time.
> 
> On Fri, Sep 18, 2015 at 11:15 AM, william humphrey <bill at bluewatermaritime.com <mailto:bill at bluewatermaritime.com>> wrote:
> Is  put VConnection_Constructor( "localhost", "sa", "sa") into mConn
> replaced by 
> put VServer_New( "localhost", "sa", "sa" ) into srvRef
> 
> I don't see any reference to any VConnection commands in
> 
> 
> VALENTINA 3 for Revolution Reference
> 
> this is pretty important to know as I should change the way I connect to the valentina database server with this new method and maybe a lot of my problems will be solved. 
> 
>  
> 
> 
> On Fri, Sep 18, 2015 at 2:45 AM, Ivan Smahin <ivan_smahin at paradigmasoft.com <mailto:ivan_smahin at paradigmasoft.com>> wrote:
> put 1 into dbIndex
> put VServer_DatabaseInfo( serverRef, dbIndex ) into dbInfoRef
> 
> 
> 
> 
> -- 
> http://www.bluewatermaritime.com <http://www.bluewatermaritime.com/>
> 
> 
> -- 
> http://www.bluewatermaritime.com <http://www.bluewatermaritime.com/>_______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net <mailto:Valentina at lists.macserve.net>
> http://lists.macserve.net/mailman/listinfo/valentina <http://lists.macserve.net/mailman/listinfo/valentina>
-- 
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com <http://www.valentina-db.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20150919/78b80849/attachment.html>


More information about the Valentina mailing list