Thanks for the reply koldo. I actually am using MSVC 2010. I have tested Controls4u on one of the example projects and it worked fine.
I see now that you are correct in that IMCENUMPROC is defined at line 159 of imm.h (I am not very familiar with function pointer typedef syntax). It looks like it must be some other name in line 159 is not defined?