[V4MD Client] no error on bad connect
Martin Wright
martin at kinetix.co.uk
Wed Jul 14 11:15:13 CDT 2004
Hi
I haven't heard anything on this issue (below), any progress?
I need to be able to check if the connection to Vserver was successful.
Although OpenDatabase() does not return any errors, is there a call I can
make directly after this that WILL return an error?
Martin
-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan Zasukhin
Sent: 09 July 2004 14:06
To: valentina at lists.macserve.net; Igor Gomon
Subject: Re: [V4MD Client] no error on bad connect
On 7/9/04 12:40 PM, "Martin Wright" <martin at kinetix.co.uk> wrote:
> Hi
>
> The OpenDatabase() returns 0 even if I try opening a Vserver with an
> impossible IP address.
>
>
> set gMyDB = new( xtra "VDataBase", "2.2.2.2", "sa", "sa", 15435, "",
> mySerialNumber)
> OpenDatabase( gMyDB, dbPath )
> err = ValentinaError()
> errStr = ValentinaErrorString()
> put "err = " & err
>
>
> ********** Message window ************
> * V4MD *: Create_VDataBase...* V4MD *: DB_New...done
> * V4MD *: OpenDatabase...done
> * V4MD *: ValentinaError...done
> * V4MD *: ValentinaErrorString...done
> -- "err = 0"
>
> How can it return 'OpenDatabase...done' when there is no Vserver.
> Or is there another (very quick) test I can do after OpenDatabase() to
> make sure it connected successfully.
No, I think it must be
Open...error xxxx
Igor, please check again.
Modify our example project for this.
If it will return error code then send that project to Martin for check.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list