[V4MD] Problem on closing apllication

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jan 20 15:46:11 CST 2006


On 1/20/06 2:24 PM, "^^pay^^" <paymc at tiscali.it> wrote:

Hi PhAI,
 
> I've a problem with Valentina2 on Director MX 2004 with a Win XP Pro system.
> 
> My published application works fine, but when I put my files on a CD I
> encounter the problem: when I close the application it crash: "Windows
> System error".
 
> I realize that the application crash when my dbfile.vdb is write locked (on
> a CD or in onlyread mode on my HD).

Hmm, you can reproduce this on HDD by locking db?
Do you use V4MD 2.1?
 

> Moreover my application is used only to read from database and not to write
> on it.
> 
> This is a little bit of my code:
> 
> on startmovie
>   set Valentina = new ( Xtra "valentina")
> 
>   Valentina.Init( 10 * 1024 * 1024, "" , "myserial" )
> 
>   gDatabase = new (Xtra "VDatabase", #kLocal)
>   gDatabase.Open( the moviePath & "dbfile.vdb") end
> 
> on stopmovie
> 
>   if objectP(gDatabase) then
>     gDatabase.close()
>   end if

>   if objectP(Valentina) then
>     Valentina.shutDown()
>   end if
> 
> end

I wonder. I do not see that you have declare Valentina variable to be
global. So how stopmovie() see it ?

Or you have copy here not full sources ?


> In the stop movie the gDatabase = VOID or = 0 generating an other windows
> system library error.

> After I thought that the problem is a bug on my Valentina release: so I
> tried to use the last release, downloading it from the website, and
> installing it.
> 
> With this version I've an error on the Valentina.Init row: OBJECT EXPECTED
> Do you have an idea about my problem (also only with the previous release)?

Strange, please try first of all run V4MD example, e.g. simplest:

    V4MD/Examples/Common/Init_Shutdown

If it not works then you should try reinstall V4MD 2.1
Before do this please go to

    Program Files/Paradigma Software/

And here trash VComponents folder.
Install V4MD 2.1 again.

Let me know result.


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