The following error appears when I'm trying to compile the library under VC++ 6.0 + platform SDK: "transact.h(226) : error C2059: syntax error : 'constant'". How can I solve this problem?

Make sure, that MFC's include directory is placed atop the SDK and SQL in the VC include directories list. There are some files with the same name (for example, "occimpl.h"), but with a completely different context. In VS.NET, MFC's "occimpl.h" is renamed to "afxocc.h", therefore this problem is relevant for the version 6.0 only.
Creation date: 10/16/2016 11:57 AM     Updated: 10/16/2016 11:57 AM