When I build a debug version of my ATL project, it successfully build but failed to register controls:
File:d:\program files\microsoft visual studio\vc98\atl\include\atlbase.h
For information on how your program can cause an assertion
failure,see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
But the release version can work and register without error.