Error in including wxAutoExcel in wxWidgets project
I tried to use wxAutoExcel library to read/write excel files in my wxWidgets app, I built the library from source in the link https://github.com/PBfordev/wxAutoExcel, when including the header in my app and without calling any function yet, I tried to compile and I had several erros E0018, C2146, C3646, C2059, C2238, all of them related to the line 1174 in wxAutoExcelApplication.h file.
I tried to rebuild wxWidgets, and wxAutoExcel several times and with differrent settings following the instructions given in https://pbfordev.github.io/wxAutoExcel/, but no success, it is to note that the samples of the library are built normal and they are working. bellow are snaps of the error pan in VS2022:
if any clarification needed, please comment