Results 1 to 6 of 6

Thread: Hello World Application Error

  1. #1
    chenhong_sz is offline Registered User
    Join Date
    Nov 2003
    Location
    China.Shenzhen
    Posts
    35

    Hello World Application Error

    ICE Development guide 3.3 run time error.
    if Server is not run and run client ,client application is ok,none error message. but when server is runing and start the client application,a failure message is show as follow:
    who can give me some suggest?
    Attached Images Attached Images

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    It is impossible to give any advice with the little information you provide.

    In order to help you, at a minimum we need the following information:

    - The compiler version
    - The Ice version
    - A stack trace of the crash
    - The code snippet in question that causes the stack trace

  3. #3
    chenhong_sz is offline Registered User
    Join Date
    Nov 2003
    Location
    China.Shenzhen
    Posts
    35
    above is a release version.
    if i build as debug, it will show some complie warning and when it run will pop the error message picture:

    Deleting intermediate files and output files for project 'Client1 - Win32 Debug'.
    --------------------Configuration: Client1 - Win32 Debug--------------------
    Compiling...
    StdAfx.cpp
    Compiling...
    Client1.cpp
    e:\delphi\ice-1.5.1\include\ice\proxy.h(291) : warning C4541: 'dynamic_cast' used on polymorphic type 'class IceProxy::Ice::Object' with /GR-; unpredictable behavior may result
    e:\delphi\ice-1.5.1\include\ice\proxyhandle.h(76) : see reference to function template instantiation 'class IceInternal::ProxyHandle<class IceProxy::Printer> __cdecl IceInternal::checkedCastImpl(const class IceInternal::ProxyHandle<class Ice
    Proxy::Ice::Object> &)' being compiled
    Printer.cpp
    c:\documents and settings\xone\my documents\test1\client1\printer.cpp(91) : warning C4541: 'dynamic_cast' used on polymorphic type 'class IceDelegate::Ice::Object' with /GR-; unpredictable behavior may result
    c:\documents and settings\xone\my documents\test1\client1\printer.cpp(172) : warning C4541: 'dynamic_cast' used on polymorphic type 'class Ice::Object' with /GR-; unpredictable behavior may result
    e:\delphi\ice-1.5.1\include\ice\handle.h(181) : warning C4541: 'dynamic_cast' used on polymorphic type 'class Ice::Object' with /GR-; unpredictable behavior may result
    c:\documents and settings\xone\my documents\test1\client1\printer.cpp(314) : see reference to function template instantiation 'class IceInternal::Handle<class Printer> __cdecl IceInternal::Handle<class Printer>::dynamicCast(const class IceUt
    il::HandleBase<class Ice::Object> &)' being compiled
    Generating Code...
    Linking...

    Client1.exe - 0 error(s), 4 warning(s)
    Attached Images Attached Images

  4. #4
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Your project is not set up properly, you must enable RTTI. Please consult the Visual C++ documentation for details.

  5. #5
    chenhong_sz is offline Registered User
    Join Date
    Nov 2003
    Location
    China.Shenzhen
    Posts
    35
    This is my platform information:
    VC6.0 Professional version+SP5 on Windows XP
    ICE:1.5.1

  6. #6
    chenhong_sz is offline Registered User
    Join Date
    Nov 2003
    Location
    China.Shenzhen
    Posts
    35
    OK!!!"Hello World " had shown.
    Thank you for your online help. thanks again!
    Sorry for i am a beginer of VC,I am very familiar with Borland c++ ,but ice is not support.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Running error in JAVA hello world demo
    By abhimohpra in forum Help Center
    Replies: 1
    Last Post: 10-14-2010, 03:51 PM
  2. Compile error in JAVA hello world demo
    By abhimohpra in forum Help Center
    Replies: 1
    Last Post: 10-13-2010, 11:03 AM
  3. Problem with Hello World?
    By ddunn in forum Help Center
    Replies: 10
    Last Post: 10-05-2006, 01:55 PM
  4. Sample Application run time error
    By chenhong_sz in forum Help Center
    Replies: 3
    Last Post: 09-23-2004, 10:09 AM
  5. Error report when I use Ice in .net Application!
    By xiehua in forum Help Center
    Replies: 1
    Last Post: 12-01-2003, 06:18 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
  •