I am running manufacturer consumer problems (using window thread). It has been successfully compiled but it is showing the following error
The process entry point InitializeConditionVariable dynamic library may not be located in Kernel32.dll.
You can say what will be the cause
This is an API function Available only in Vista and above. I think that you are running this code on XP.
To avoid a mistake by using API functions which are only available in later versions of Windows, you want to define the _WIN32_WINNT macro:
#define _WIN32_WINNT 0x502 // Windows XP is ready to run on SP2 and #include & lt; Windows.h & gt;
If you do not set it, then this is usually the default for 0x600 on later versions of Windows SDK, choosing Vista as the target operating system BTW, you might The condition will be left on the variable. There is not enough detail in your question to offer a suitable replacement. The code that uses mutes should not be difficult to find.
Comments
Post a Comment