And what are these "only minor tweaks" to force the compiler to accept the C casts? Is someone here who can give me these options? The system of options for gcc (which is integrated in dev-c++) is very complex for someone like me who is a delphi but not a c expert.