Original Post
I've been getting this error since typing this code in that I've had working before: main.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassA@8 referenced in function "bool __cdecl UnregisterWindowClasses(struct HINSTANCE__ *)" (?UnregisterWindowClasses@@YA_NPAUHINSTANCE__@@@Z) UnregisterWindowClass is a function of my own. It wouldn't be such a big problem but I'm getting it 10 different times on other functions like RegisterClass, etc... It's definately possible I don't have something linked right in C++ Express Edition because last time I compiled it in the older C++ compiler. I linked it enough so Windows.h wouldn't error but I think it's not finding these basic Windows functions. I already tried deleting the .obj and recompiling. Any ideas? [Edited by - programmermattc on September 27, 2006 5:01:01 PM]