|
-
December 13th, 2002, 12:52 AM
#1
A stupid error: An object reference required for the nonstatic field, method, or prop
IT DRIVES ME NUTS!!! *** IS WRONG?
PHP Code:
public ETM( ETMHandler _handler ): base( new ETHandler(OnTarg) )
It *****es at the line above, however it's fine with:
PHP Code:
public ETM( ETMHandler _handler ): base( null )
OnTarget is declared inside of that same class, it's a method, and it's not static. What the **** does it ***** about?
(please forgive my foul language, but I am freaking mad)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|