Archived

This forum has been archived. Please start a new discussion on GitHub.

the different between debug version and release version

I met one strange problem . when i run an application build in debug ,the initializeWithProperties(int ,char*[],properties) is run well ,but then i run it build in release version ,initializeWithProperties(int ,char*[],properties) failed and exit the application .
help me !

Comments

  • benoit
    benoit Rennes, France
    Please specify the platform and the Ice version.

    If you're using Windows, you need to make sure that your application was built with the same compiler flags as Ice. That is, if you build your application with /MD (release multi-threaded runtime library), you need to link with the ice.lib library, if you build your application with /MDd (debug multi-threaded runtime library), then you need to link with the iced.lib library.

    You might also want to take a look at the compiler settings in the project files for the Ice demos.

    Hope this helps!

    Benoit.