[fpc-pascal] HTTPRoute.pas and TRouteObject

Kevin Jesshope kevinofoz at gmail.com
Sat Feb 10 06:10:09 CET 2018


Hi,

Working on a standalone web project using the new routing. I have a
class descended  from TRouteObject.

My problem is that the constructor cannot be marked override so it is
not called when the class is created by HTTPRouter.

Adding an empty virtual TRouteObject.create resolves this.

Is this a bad idea? Am I missing something?

Regards

Kevin



More information about the fpc-pascal mailing list