{$calling oldfpccall} does not prevent you from using new features. In fact, FPC is really good at combining old and new code.