valentina, externals of libdatabase

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Thu Jan 7 17:29:20 EST 2010


On 1/7/10 10:23 PM, "Bernard Devlin" <bdrunrev at gmail.com> wrote:

Hi Bernard,

> I recently decided to take a fresh look at Valentina.  As the licensed
> copy I had was quite old, I upgraded to 4.3
> 
> On Vista with RevEnt 4.0, I decided the easiest way to learn more
> about Valentina was using Trevor's LibDatabase library.  (I know that
> it's kind of 'old hat' compared to SQL Yoga, but LibDatabase appeals
> to me).
> 
> I'm kind of confused about how externals are supposed to be registered
> these days.  I ran the Valentina installer, and it made no changes to
> the Revolution program directories (i.e. it did not add itself to the
> list of externals in the Externals text file, nor add the drivers to
> the folder containing database drivers).
> 
> I got the example stack provided by Paradigma to work by adding the
> V4Rev.dll file to the external references of the Examples main stack.
> 
> When it comes to making use of LibDatabase, the only way I could get
> it to work was by adding V4Rev.dll to the externals of the library).
> I was getting an error at at the point where LibDatabase calls
> Valentina_Init.  It seems to me that the main stack of an application
> should be where the externals are set, not in a library stack.  I am
> sure that if LibDatabase required a reference to any relevant
> externals, Trevor would have said so (he's a thorough kinda guy).

Yes I think Trevor can answer this, and most probably this is describe in
some docs.
 
> Also, does anyone know how to get an error string back from Valentina?

** If you will look into V4REV/Examples you will see how to work with Errors
codes and strings.

** This is entry point of Valentina for REV docs in WIKI

<http://valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4rev:v
4rev>

Here you can find simple steps how to install,
Tutorial, PDF of API, ...


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