|
Reason #3 (courtesy of Joseph Newcomer)
You have done the following:
#define _whatever
#include "stdafx.h"
in some module, where the symbol _whatever is one of the symbols that causes certain names to be defined by including windows.h. But in spite of this,
the symbols you want are still undefined. Why? Because of precompiled
headers. The symbols available to your compilation are made available based
on the precompiled header which is in turn based on the compilation of stdafx.h. If the symbols were not visible at that compilation, changing the
#define symbols in other modules will have no effect. Go back and add the
#define to your compilation of stdafx.h.
|