[V4RB] Subclassing VDatabase

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jul 25 00:00:27 CDT 2006


On 7/24/06 11:47 PM, "Christer Olsson" <christer at ljusaideer.se> wrote:

> We have used the following code in the constructor of our subclassed
> VDatabase:
> 
> VDatabase( serverAdress, app.kDatabaseID, app.kDatabasePW, serverPort )
> 
> which we now have changed to
> 
> connection = new VConnection(serverAdress, app.kDatabaseID, app.kDatabasePW,
> serverPort)
> VDatabase( connection )
> 
> This code compiles, but when we run it we get a silent crash at
> VDatabase( connection )
> 
> I can't find any docs for the correct way to do this, other than a mail from
> Ruslan July 10, but that's rather brief.

Please look into V4RB/Examples/Class_way
They have pluses ...

Not sure, but it seems you need at first open connection, then create
database object


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina-beta mailing list