Hi,
I have Visual c++ 2010 express installed and I'm building my c++ icebox services with it. And I'm using Windows SDK v 7.1.
When I start up the IceBox I get a crash. Are the Ice binaries compatible with Visual C++ 2010? This same service is working ok with Ice 3.4.0 when the service is compiled with Visual C++ 2008 and Windows SDK v6. I tried this using both Ice 3.4.0 and 3.4.1.
The the output from the console is attached. It seems that the ice logger is logging garbage before it crashed.
And this is the start() method
ThanksCode:void ConfigurationSvc::start(const string &name, const Ice::CommunicatorPtr &communicator, const Ice::StringSeq &) { m_comm = communicator; m_logger = communicator->getLogger(); m_logger->trace("ConfigurationSvc", "starting"); if (!m_adapter) { m_logger->trace(name, "creating new adapter"); m_adapter = communicator->createObjectAdapter(name); m_machineConfigurationI.reset(new MachineConfigurationI(*this)); Ice::ObjectPrx prx = m_adapter->add(m_machineConfigurationI.get(), communicator->stringToIdentity(communicator->getProperties()->getProperty("MachineConfiguration.Identity"))); } m_logger->trace(name, "activating adapter"); m_adapter->activate(); m_logger->trace(name, "adapter activated"); // Initialize the database connection pool std::string dbConnString = m_comm->getProperties()->getProperty("ODBC.Connection"); m_dbConnectionPool.reset(new DbConnectionPool(m_comm, dbConnString, 5)); }
Budyanto

Reply With Quote