The reason I want to do this is because the debug libraries are littered with extra "assertion" statements that take ages to start with during remote debugging.
I hope it's only to replace Multi-threaded Debug DLL (/MDd) with Multi-threaded DLL (/MD) in Code Generation -> Runtime Library but I wonder if there are other changes one has to take into account as well?
This is doable and also good practice for remote debugging big and complex applications also exlained in Mixing debug and release library/binary - bad practice?.
Besides switching link libraries from
Multi-threaded Debug DLL (/MDd)toMulti-threaded DLL (/MD)one needs to take into account debug macros like_ITERATOR_DEBUG_LEVELwhich might otherwise conflict during linking. A typical error message that indicates such a conflic iserror LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL'Once all the conflicting macros have been resolved it will link to the standard runtime libraries but the debug symbols for the application remains.
Also, @Adrian Mole thanks for the assistans in this matter.