FBL_ArraySet from FBL_BitSet

Arthur Clemens aclemens at xs4all.nl
Sat Jun 21 13:52:49 CDT 2003


I am trying to do something like in de documentation, VSDK Reference 
page 49:
First I create a BitSet with all records, then I create a new ArraySet 
to which the BitSet should be copied, using  the BitSet as parameter in 
the ArraySet constructor.
This is all following the docs.

But it seems i nmy case the BitSet does not get copied...

This is the code from my test:

FBL_BitSet* pS1 = _wordTable.SelectAllRecords();
cout << "number of records pS1: " << pS1->GetCount() << endl;
FBL_ArraySet* pAS = new FBL_ArraySet(pS1);
delete pS1;
ulong Count = pAS->GetCount();
cout << "number of records pAS: " << Count << endl;


This is what I get:
number of records pS1: 200
number of records pAS: 0


I am using VSDK.framework 1.9.7 for Project Builder.

Arthur Clemens


More information about the Valentina mailing list