|When you use ATL, then your application is not a non-ATL one.
The first error message is "same type qualifier used more than once". So
byte has been already defined.
The next one "'char' followed by 'char' is illegal" indicates that
byte has been probably defined using a
#define statement so that the compiler sees
typedef unsigned char char;
The third error is just based on the previous one.
So the goal is to find the previous definition of
byte and check if the definition can be suppressed or the header file containing it might be included later. That might be some work because atlbase.h includes a lot of other files. I did a quick search but did not found it. But you should better perform this search with your files because they may change with the Visual Studi and the SDK versions.