Getting Component <component name> cannot be saved. The Object encoding could not be flushed.? error. It turned out a certain bitmap was associated with Windolcon in one of the frames. Deleting the bitmap solved the problem.