Using ObjectStore in building C++ interface application