Direct metalation of heteroaromatic esters and nitriles using a mixed lithium-cadmium base. Subsequent conversion to dipyridopyrimidinones.