[V4RB] Init and shutdown

Charles Yeomans charles at declareSub.com
Sun Mar 11 11:00:30 CDT 2007


On Mar 11, 2007, at 4:01 AM, Ruslan Zasukhin wrote:

> On 10/3/07 9:08 PM, "Charles Yeomans" <charles at declareSub.com> wrote:
>
> Hi Charles,
>
>>> Is this correct to initialize Valentina this way:
>>>
>>> Valentina.Init( aCache, "V4RB-X-X-XXXX-XXXX-XXXX", "V4RB-X-X-XXXX-
>>> XXXX-XXXX" )
>>> Valentina.InitClient()
>>>
>>> end shut it down that way:
>>>
>>> Valentina.ShutDownClient()
>>> Valentina.ShutDown()
>>>
>>> The app is supposed to be able to open both local and remote DBs.
>>
>> It depends on what you mean.  I don't think it is possible to open
>> both local and remote databases at the same time.
>
> IT IS POSSIBLE !!!  :-)
>
> Actually this is one of major features of Valentina!
>
> For example, when I have look at FrontBase,
> They did only ONE OF. And you need switch dlls.
>
>> If you want to
>> open either a local database or a remote database, then what you must
>> do is to call either Valentina.Init or Valentina.InitClient, but not
>> both.
>
> No, Charles,
>
>> It's possible to switch during execution by first calling the
>> appropriate Shutdown method, then the other Init method.
>
> Again no.


I stand corrected, and I am already looking forward to rewriting some  
code.

Charles Yeomans


More information about the Valentina mailing list