Reopening a Rev app with valentina crashes the IDE

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Oct 13 11:40:45 CDT 2008


On 10/13/08 11:02 AM, "Tiemo Hollmann TB" <toolbook at kestner.de> wrote:

> Hello,
> 
> Developing with Rev 3.0 on Win XP and Valentina V4Rev_3 following happens:
> When closing my stack with shutting down valentina and trying to reopen my
> stack, the IDE crashes. After a resart of my IDE my app and valentina opens
> without problems. It looks like some wrong pointer keeps open or something
> like that. What I do when closing my app is:
> 
>     get VDatabase_Encrypt ( gDBRef, myKey, "kStructureAndRecords" )

Why you do encrypt here?

This should be made after db.create(), so you inform engine that db must be
encrypted always.

And you do after open Decrypt()?  This is wrong.
You need do 

    ddb.open
    db.UseKey( "jey" )

I use here DOT notation, you need use of course REV API


>     get VDatabase_Close( gDBRef )
> 
>     get VDatabase_Destructor( gDBRef )
> 
>     get Valentina_ShutDown
> 
> Is this the correct way to shut down valentina, am I missing something or
> doesn't handle my Rev IDE freeing memory correctly?

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