Error C2131 and E0028 in Acrobat DC SDK example Bates numbering with VS 2019
During debugging a 32 bit of an existing Acrobat plugin C++ application I received the error messages C2131 (expression did not evaluate to a constant) and E0028 (expression must have a constant value). After commenting out the #include <vector> I was able to compile the file without errors.
In order to get the possibility of reproducing these errors I extracted the Bates numbering example from the Acrobat SDK and opened the solution file with Microsoft Visual Studio 2019 (16.3.10), added the include directories of the SDK, added _XKEYCHECK_H to the preprocessor definitions and compiled this example on a Windows 10 computer. I am getting now also the errors E0028 and C2131 also with this example application from the SDK. The selected Windows SDK Version is 10.0 (latest installed version) and the selected platform toolset is Visual Studio 2019 (v142).
Did anyone face the same issue?
