RAD Studio
ContentsIndex
PreviousUpNext
E2231: Member 'member' cannot be used without an object

This means that you have written class::member where 'member' is an ordinary (non-static) member, and there is no class to associate with that member. 

For example, it is legal to write this:

obj.class::member

but not to write this:

class::member
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!