[V4RB] Creating database

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Oct 17 10:40:52 CDT 2005


On 10/16/05 11:21 PM, "Stan Busk" <maxprog at mac.com> wrote:

Hi Stan,
 
> I am creating a database with the line:
> myDatabase.Create(f, 4, cache) where f is a valid folderitem. Nothing
> happens, no error, no file created, all the code is executed but
> without results. Should I do somethind special with the create
> command? I am using the same project I used during v2 beta tests and
> without any modifications it no longer works.
> 
> The database init looks like that:
> 
>    #if DebugBuild
>      Valentina.DebugLevel = EVDebugLevel.kLogParams
>    #endif

This should go AFTER Valentina.Init
 
>    aCache = 5 * 1024 *1024
> 
>    Valentina.Init(aCache, "xxxxxxxxxxxx", "xxxxxxxxxxxxx" )
> 
>    If Valentina.CacheSize = 0 then
>      MsgBox kError_DatabaseInitFailure + " " + Str(Error)
>      Quit
>    end if
> 
>    Valentina.SetExtensions "vdb", "dat", "blb", "ind"

And where is code with db create ?

> RB 2005-R4 + Valentina 2.0.4

-- 
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 mailing list