A product A′ABC of reaction of epoxy resins, fatty acids, and amines, wherein it is a reaction product of epoxide compounds A′ containing at least two epoxide groups per molecule and reaction products ABC of epoxide compounds A containing at least two epoxide groups per molecule, fatty acids B, and aliphatic amines C having from 2 to 12 carbon atoms, and wherein its number average molar mass Mn is at least 5 000 g/mol, and, the epoxide compounds A′ and/or the epoxide compounds A optionally having been modified prior to further reaction, in whole or in part, by reaction with compounds D containing at least one acid group or hydroxyl group reactive toward epoxide groups, and, the amines C optionally having been modified prior to further reaction, in whole or in part, by reaction with aliphatic or aromatic monoepoxide compounds A″ or mixtures thereof.