E2012 Cannot take address of 'main' (C++)

From RAD Studio