On the reaction of solids with mixed gases