V4CC - databaseVersion vs. version

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Sat Jan 2 08:19:57 CST 2010


On 1/2/10 2:25 PM, "Ernesto Giannotta" <ernestogiannotta at tiscalinet.it>
wrote:

Hi Erne,

> in V4RB I used 
> 
>     dim v1 as Integer = Valentina.GetCurrentFormatVersion()
>     dim v2 as Integer = Valentina.GetDatabaseFormatVersion(f)
>     
> to compare the format of a file with the plugin version
> 
> in V4CC headers I see:
> 
> // <version> (r/o)
> - (NSString*)version;
> - (int)databaseVersion:(NSString*)inPath;
> 
> they're different types, why?

I need to check sources,

 
> what's more in my app
> [[Valentina instance] version] is "4.3"
> but 


So this is like in RB  Valentina.Version


> [[Valentina instance] databaseVersion:aDBPath] is 608
> 
> How should I compare these values?

I think this is analog of Valentina.GetDatabaseFormatVersion

Probably V4CC should be corrected to new names here.
Please mantis this issue.



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