VServer and launchd

Charles Yeomans charles at declareSub.com
Mon Nov 13 19:23:50 CST 2006


On Nov 13, 2006, at 7:01 PM, Ruslan Zasukhin wrote:

> On 11/14/06 1:20 AM, "Charles Yeomans" <charles at declareSub.com> wrote:
>
>> How lazy of me; I should have searched every example looking for any
>> that might have been updated :) API_way/Records_AddDeleteUpdate.rb
>> does indeed contain some sample code.
>
> Simpler.
>
> EACH example contains that ExampleTools module. EACH.
>
>> But it raises more questions
>> than answers.
>>
>>
>> I need to create a VConnection object.
>> Must I call its Open method before creating a new VDatabase object?
>
> as I remember its optional.
>
> You must call Vconnection.Open() only if you use Vserver class.
> See example Common/Vserver...

I tried that earlier.  It doesn't compile. I believe there is a bug  
report about console apps.

>
>
>> Once I have created a VDatabase object, do I need to keep a reference
>> to the VConnection object as long as the database is connected?
>
> no
>
>> Must I call VDatabase.Close before calling VConnection.Close?
>
> No, if you have not call Open() explicitly


Okay, I'll see if I can figure things out.

Charles Yeomans


More information about the Valentina mailing list