Success using I_ValueDateTime_Ptr; but how to use I_ValueDate_Ptr and I_ValueTime_Ptr?

Matthew Jew mjew at icnc.com
Fri Jun 30 14:29:15 CDT 2006


On Jun 30, 2006, at 2:08 PM, Ruslan Zasukhin wrote:

> On 6/30/06 9:52 PM, "Matthew Jew" <mjew at icnc.com> wrote:
>
>> I see that some of my problem is because I am converting a project
>> from VSDK version 1
>> to VSDK version 2.
>>
>> So some files use VSDK.h and some use VSDK2.h, which causes many re-
>> definition complaints from
>> the compiler.
>>
>> I would like to switch all to using VSDK2.h, but how do I access
>> classes from VSDK version 1,
>> such as FBL_ArraySet definitions, if I just include VSDK2.h?
>>
>> It seems that if I entirely remove the import of VSDK.h and just
>> import VSDK2.h, then
>> the class FBL_ArraySet is undefined.
>
> Of course....
>
> Hmm, we have never consider ability to mix both sets of headers.
>
> Why you do this ???????
>
> You should use ONLY v2 headers and classes!!
>
> To convert v1 db to v2 exists  db.Convert_1_2() method
>

It isn't the v1 database methods that I want to use; it is the  
utility classes
FBL_BitSet and FBL_ArraySet that I use from v1.

Those classes are useful even if you do not use any databases at all.

I assume I should rewrite my use of FBL_ArraySet to use FBL::ArraySet  
instead?

- Matthew



More information about the Valentina mailing list