text: Printer Tutorial Runtime Error — ZeroC
  Printer Tutorial Runtime Error
  Mrfred Member Ryan FredericksOrganization: PersonalProject: Middleware Comparison for Future Development ✭
  I'm trying to learn Ice and went through the manual and tried the first example. It builds properly and everything; however, when I run the server, all that happens is it prints "TcpEndpointI.cpp" and then exits. The client does the same except the message is "Network.cpp"
  I have no idea why this happens, as I have read over the manual and much information online. I am fairly certain that the line that my server has an issue with is the following
  Ice::ObjectAdapterPtr adapter = ic->createObjectAdapterWithEndpoints("SimplePrinterAdapter", "default -p10000");
  I am using Microsoft Visual Studio Express 2012 for Windows Desktop which uses Visual C++ 2012. I am compiling it under Release and it appears to build fine without any errors. Please let me know if you have any suggestions as to what could be wrong with my setup.
  EDIT: For those of you who don't know the code included in the manual, here it is:
  void PrinterI::printString(const string& s, const Ice::Current&) {
  cout << "ice exception" << endl;
  If the code you pasted is exactly what you're using, there's a space missing from your object adapter endpoint. It should be "default -p 10000". What puzzles me more is why you don't get more informative output when displaying the exception.
  Wow, thanks. I feel dumb. That space got me up to this line:
  where it exited with message "Instance.cpp"
  I am new to Ice, but I believe all that line is doing is telling the adapter that a new servant is there called "SimplePrinter". I'm pretty sure I'm not missing a space in this one, but any help is greatly appriciated, and thanks a lot for your reply Mark.
  I suggest rebuilding in debug mode. Note that you'll also need to change the libraries that you link with to use the debug versions.