# error when use ice 2.1 and vc6.0

Member hexunOrganization: chinaProject: spine
i use ice in my program , i put ice/ice.h in my inlcude files ,
when i compile it , i got the error below :

C:\Ice-2.1.0-VC60\include\IceUtil/Mutex.h(141) : error C2065: 'TryEnterCriticalSection' : undeclared identifier

but i don't use ice's Mutex.

what is the problem?

• Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
I assume you're trying to compile your application on a Windows 98, ME or NT 3.51 platform, correct? The Windows binary distribution posted on our web site wasn't compiled to support these platforms.

You will need to compile Ice 2.1.0 from the source distribution if you want to use it on these platforms (it will also work with Windows 2000/XP). See the special instructions related to these platforms in the INSTALL.WINDOWS file from the source distribution. If you don't want to compile the third party libraries, you can use the ThirdParty-2.1.0-VC60.msi installer from http://www.zeroc.com/download.html#win32_msi.

Benoit.
• Member hexunOrganization: chinaProject: spine
i am sorry but i compile my application on windows xp sp2 , and i got the error message
• Member Thomas MuellerOrganization: Freelance Software DeveloperProject: Project depend on Customers ✭✭✭