realbasic-plugins
[Top] [All Lists]

RE: REALGetEventInstance returns NULL

To: "'REALbasic Plugins'" <realbasic-plugins at lists dot realsoftware dot com>
Subject: RE: REALGetEventInstance returns NULL
From: Darren Boon <dboon at renlearn dot ca>
Date: Thu, 21 Jul 2005 12:22:04 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
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>

<Prev in Thread] Current Thread [Next in Thread>