Hi everybody,
I'm trying to change the partition status. But the following code doesn't make it (at least not correctly).
Something must be wrong there.
mxfgirl
Code:
...
theFile->Seek(0);
cout <<"Partition IsClosed(before): "<<theFile->ReadPartition()->IsClosed()<<endl;
cout <<"Partition IsComplete(before): "<<theFile->ReadPartition()->IsComplete()<<endl;
theFile->Seek(14); //Byte No.15: PartitionStatus
Int8 PartitionStatus = 4; //PartitionStatus (S377m,Table 1) //0x01;0x02;0x03;0x04
theFile->WriteI8(PartitionStatus);
theFile->Seek(0);
cout <<" Partition IsClosed(after): "<<theFile->ReadPartition()->IsClosed()<<endl;
cout <<" Partition IsComplete(after): "<<theFile->ReadPartition()->IsComplete()<<endl;
...