I have tried this in the control constructor, open, and draw(which is where
this will need to be used). I get the same result regardless of where in the
plugin I try to get the callback.
Darren
-----Original Message-----
From: realbasic-plugins-bounces at lists dot realsoftware dot com
[mailto:realbasic-plugins-bounces at lists dot realsoftware dot com]On Behalf Of
Alfred Van Hoek
Sent: July 21, 2005 12:10 PM
To: REALbasic Plugins
Subject: Re: REALGetEventInstance returns NULL
On Jul 21, 2005, at 12:02 PM, Darren Boon wrote:
> I am able to see the NULL returned in the debugger( and the event is
> not
> called ).
>
Ok:
InitEventPtr init = (InitEventPtr)REALGetEventInstance( instance,
&SectionEditorEvents[0] );
if( init != NULL )
init( instance );
From where in your code are you calling the above?
Alfred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|