Archived

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

Strange compilation error with VC6 / Ice 1.4.0

Hello,

I get the following compilation error:

...\IceUtil/Mutex.h(141) : error C2065: 'TryEnterCriticalSection' : undeclared identifier

I have checked that the _WIN32_WINNT symbol is correctly set to 0x0400
when reaching the Winbase.h declarations.

Platform is W2000 SP4, VC6, Ice 1.4.0

Any idea?

Comments

  • A more simple question

    Can Ice 1.4 be used with VC6?

    If not, which version to use (i can't chnage the compiler level), where to download it?
  • marc
    marc Florida
    I use Ice all the time with Visual C++ 6.0 SP5 and Windows XP. Note that you need STLport for Visual C++ 6.0, as the built-in STL library is broken.

    For more information on supported platforms, please see:

    http://www.zeroc.com/platforms.html
  • Thanks

    It is fun to go back to the niceties of C++ after years in the the boring Java world!