What you are experiencing is the result of trying to link object files or libraries that were built using different runtime library settings. Ice is currently built as a DLL and uses the DLL version of the Microsoft runtime library and the static libraries you are using were likely built with the static version of the runtime library.
How do you solve your problem? Sadly, the only thing I would suggest is to see if you can obtain DLL versions of the the third party MFC extensions and use the MFC DLL library instead. Depending on what your DLL is doing, this might be better for you in the long run anyway. As I recall, there are memory management issues with DLLs that use the static runtime library. Some of my colleagues have had some experience with this and may have some additional comments.
Cheers,
Brent
Brent Eagles
Digium/Eagles Technologies Inc
St. John's, NL
Project(s): Asterisk SCF