Hi,
trying to use the GetAlignment event the compiler show this error
[C++ Error] Main.h(75, 91): E2015 Ambiguity between 'TVAlignment' and 'Advobj::TVAlignment'
What can i do?
thanks
Mirco
It is a Delphi compiler shortcoming that it doesn't generate proper HPP files and a C++ shortcoming it can't handle this.
Prefix in Advgrid.hpp and in your application the parameter TVAlignment with its namespace, i.e. Advobj:: in the declaration of the OnGetAlignment event.
Ignore when C++ suggest to revert the change and then compile.
Ignore when C++ suggest to revert the change and then compile.
Ok, i have added Advobj:: in the event declaration but every time I compile the compiler ask me to remove the reference
As I explained, ignore this.