from .NET
bool[] MatrixBoolean = new bool[4];
CellMatrix MatrixFromApp = new CellMatrix(1, 1);
MatrixFromApp[0,0] = new CellValue(false); // set to false
bool b = MatrixFromApp[0,0] .BooleanValue(); // b should be false but it is true
b != MatrixFromApp[0,0] with xlw 4.0.0f0
Where is my error ?
Thanks
mc_allan@hotmail.com
It's a bug in managedCellMatrix.h:56/57.
Change
xlwTypebaseClass<xlw::CellValue>( new xlw::CellValue(true) ,true){}
to
xlwTypebaseClass<xlw::CellValue>( new xlw::CellValue(TrueFalse) ,true){}
recompile, and everything will work as expected.