Archived

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

ice and ace thread conflict

I write the following codes and complied by Microsoft Visual C++ .net 7.1. when running , the program crashed.

When I does not use Ice::Application class , and only use ICE thread manager , no problem.

How can I avoid this.

Thanks

Comments

  • I don't know much about ACE, so I can only give general advice. Perhaps the ACE and the Ice libraries are not compiled with the same set of compile and linker flags? For example, all your code should either be debug or all of it should be release mode. There are also problems if you mix statically linked code with DLLs, so you should use ACE in a DLL, too.
  • ice and ace thread conflict

    Thanks.

    I'll try it.