M
Mike Deep
Hello,
<snip>
#if (WIN32)
#include "stdafx.h"
#endif
int _tmain(int argc, _TCHAR **argv) {
#if (WIN32)
printf("errrr\n");
#endif
return 0;
}
</snip>
I get a C1020 :-( on the first #if instruction.
Why ?
I should be able to use #if out of a function!!
When i remove the the first #if, the program compiles.
Is it a bug from my brain or ms ?
Mike
<snip>
#if (WIN32)
#include "stdafx.h"
#endif
int _tmain(int argc, _TCHAR **argv) {
#if (WIN32)
printf("errrr\n");
#endif
return 0;
}
</snip>
I get a C1020 :-( on the first #if instruction.
Why ?
I should be able to use #if out of a function!!
When i remove the the first #if, the program compiles.
Is it a bug from my brain or ms ?
Mike