V4CC - databaseVersion vs. version

Ernesto Giannotta ernestogiannotta at tiscalinet.it
Sat Jan 2 06:25:43 CST 2010


Hi Ruslan,

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?

what's more in my app 
[[Valentina instance] version] is "4.3"
but 
[[Valentina instance] databaseVersion:aDBPath] is 608

How should I compare these values?


Thanks for listening.


Cool Runnings,
Erne.



More information about the Valentina mailing list