and on close the program terminale also says: err:ole:CoCreateInstance apartment not initialised err:ole:get_unmarshaler_from_stream Failed to create marshal, 0x800401f0 err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d