The reaction is a process for preparing high molecular weight solid polymers having film-forming properties and having solubility in an organic solvent, which process comprises reacting essentially equimolar amounts of an aromatic primary diamine and an acyl halide derivative of trimellitic anhydride which contains at least one acyl halide group and that in the 4-ring position, in an organic solve