[V4MD Client] no error on bad connect
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Jul 8 09:10:44 CDT 2004
On 7/7/04 1:48 PM, "Martin Wright" <martin at kinetix.co.uk> wrote:
> Hi
>
> When I try to connect to a Vserver with a wrong IP address I get no error,
> so I can't trap it.
>
> set gMyDB = new( xtra "VDataBase", "2.2.2.2", "sa", "sa", 15435, "",
> mySerialNumber)
> err = ValentinaError()
> errStr = ValentinaErrorString()
> OpenDatabase( gMyDB, dbPath )
Hi Martin,
Igor says that you must check error AFTER OpenDatabase() call,
Because OpoenDatabase() try conenct.
Constructor of Vdatabase just create object in RAM.
--
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
-------------------------------------------------------------
More information about the Valentina
mailing list