I think this is not "library" or linker issue.
It looks like preprocesor substitue GetClassInfo to GetClassInfoW in windows.h
I guess, may be you didnt define WINDOWS directive. Read docs closely.
"Compilation and Linking Issues" subject.
So WINDOWS an ACExtension directives are required.
And strange, why you have GetClassInfoW but not GetClassInfoA.
It seems you have UNICODE directive defined (Use Unicode character set).
Actually I am not sure - is it correct or wrong.
May be you will need to change it to "Use Multi-Byte Character Set".
May be not...