Loading or registering of classes in specific order is important if an event 
specifies a class

A plugin registers classA and classB.

classA defines a property: classA.myProp As classB
classB defines a method: classB.myMethod() As classA

Under these conditions the order of class registration is not important. 
However, 

classA defines an event: classA.myEvent(obj As classB)
If classA is first registered then the call to REALGetEventInstance returns a 
nil pointer, regardless whether the event is implemented or not. So it appears 
that event declarations containing class arguments can fail, if the class 
argument is not registered first.

This was difficult to figure, so this is meant as a heads up!

Alfred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to