case MSG_PART_UPDATE:
case MSG_PART_INITIALIZE:
{
OtherClass otherClass = AnotherClass.Instance.othe
if (otherClass != null)
otherClass.dispatch(theMsg
break;
}
otherClass variable has the same name as class member:
public OtherClass otherClass
Is this your intention?
Main Topics
Browse All Topics





by: lblincPosted on 2006-03-15 at 16:06:55ID: 16200463
One more thing... case MSG_PART_UPDATE: will ALWAYS be triggered before case MSG_PART_INITIALIZE: but either case being triggered should then successfully pass on the partSig message inside the dispatch function.
Is something happening whereby otherClass only can work once and then needs to be reset to null, or something similar? It is instantiated one time upon logon in a different class, then to refer to it after that the Instance of AnotherClass is called to access it.