We consider the excitation function of the reaction 12C+14C with the yield of the beryllium nuclei in the energy range corresponding to the high-spin resonances in the elastic scattering. The results are analyzed within the DWBA model using the phenomenological optical potentials for the case of interference of the different transfer channels. The potential from the fitting of elastic scattering was used as the potential of the entrance channel. For the exit channel we employed a modified energy-depended potential of the system 9Be+16O. It was shown that in the non-resonant domain the experimental data of the angular range under consideration are well described by the direct two-proton transfer reaction. Our analysis of minimum position in the angular distribution corresponding to the energy of the elastic resonance shows the existence of a quasi-molecular high-spin state in the system 10Be+16O. Refs 13. Figs 6. Tables 6.