We generalize a variant of the auxiliary-sources method, which was proposed earlier for solving of the problem of electromagnetic-wave scattering by a structure consisting of several thin dielectric finite-length cylinders, for the case, where along with thin dielectric cylinders the structure contains several thin perfectly conducting cylinders. The specially designed computer-code program is described briefly. The results of calculating the scattering cross sections for certain specific structures are presented.