V4CC - databaseVersion vs. version

Ernesto Giannotta ernestogiannotta at tiscalinet.it
Sat Jan 2 09:37:46 CST 2010


On Jan 2, 2010, at 3:19 PM, Ruslan Zasukhin wrote:

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

I see...

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

well, names may need correction
but how do I query vale for the Current Database Format?
Looks like this API is missing...

> 
> 
> -- 
> 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]
> 
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list