try: Handler[] mouse_handlers = new [WM_MOUSELAST - WM_MOUSEFIRST + 1]or if the size is statically known: Handler[WM_MOUSELAST - WM_MOUSEFIRST + 1] handler;
Thank you for your help.
after doing what you propose, i get the error message:
Error 1 Error: function Handler is used as a type
void Handler(int, int); is function prototype.
any other suggestions?
