Ok, it was my fault. In one file I used the instruction -- @atlcompiler atl2006 in the other I didn't.
Best regards, Max