Results 1 to 2 of 2

Thread: puzzle in C++ demo

  1. #1
    ChenQingQing is offline Registered User
    Join Date
    May 2006
    Posts
    27

    puzzle in C++ demo

    my ice version is 3.01 and I just want to try some c++ coding. when I ran demo\book\printer>server, I got a following exception:
    "
    .\Initialize.cpp:188: Ice::VersionMismatchException:
    Ice library version mismatch
    "

    But some other demos like demo\Ice\hello>server work well. The latter one extends Ice::Application but the previous one use the original method. According to the Ice document, both should be ok. Is there any setting ignored by me?

    I have set the project include, lib and bin files. And the java demo works well. I think there is no problem with path setting.
    QingQing Chen

    BeiJing Gaov Visual Tech Co., Ltd.

    Mysee.com

    Internal Administration Project

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    This exception means that the version of the Ice dll from your PATH doesn't match the Ice version which was used to compile the demo. You should either look for an old DLL in your PATH or re-compile the demo using the Ice distribution which is in your PATH.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ice.Storm puzzle me
    By paul in forum Help Center
    Replies: 0
    Last Post: 04-28-2009, 01:57 AM
  2. puzzle about how to install ice on linux
    By snowman in forum Help Center
    Replies: 2
    Last Post: 01-30-2008, 06:04 AM
  3. a puzzle
    By rellik78 in forum Help Center
    Replies: 1
    Last Post: 09-20-2006, 05:54 AM
  4. i puzzle about the example bidirS!
    By fw_csha in forum Help Center
    Replies: 3
    Last Post: 05-17-2005, 09:46 PM
  5. Puzzle on smart pointer
    By soloman817 in forum Help Center
    Replies: 1
    Last Post: 07-13-2004, 05:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •