
DDX_Int - Compiler says undeclared, I say it is.
I'm trying to use the DDX_INT macro defined in the atlddx.h header
file. This macro uses a function called DDX_Int() which is also
defined in the file.
I have placed this macro into my BEGIN_DDX_MAP, selected compile on my
cpp file and BAM:
error C2065: 'DDX_Int' : undeclared identifier
I want to {*filter*} the compiler, IT IS DEFINED. It is defined in the
exact same file as the DDX_INT macro! The compiler obviously
understands what the DDX_INT macro resolves to because it knows that
it has a DDX_Int function call inside it. So it's obviously reading
the "AtlDdx.h" header, so why isn't it defining that function?
It's a big file so it's possible there's an #ifdef / #ifndef blocking
the compiling of this function but geeze! This is driving me
absolutely nuts. I hate it when people design headerfiles that
require some sort of voodoo to work.
Does anyone know what I need to do to get this to work properly?
Thanks