http://bugs.winehq.org/show_bug.cgi?id=17697
--- Comment #16 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-26 21:34:50 --- (In reply to comment #14)
I then added the atl.dll.AtlModuleRegisterWndClassInfoA() function to the dlls/atl/atl_main.c module and it compiled clean.
You need to add it to the .spec file as well.