Hello Robin

On 24-Oct-99, Robin Cloutman wrote:

[SNIP]

> 5. Should i dipose of my prefs->object in AMIPLUGPREFS_Dispose, or should
> i store the object somewhere else for disposal? (it crashes when i try
> MUI_DisposeObject((Object*)prefs->object) )

Just wrote and fully implemented a prefs objects system with no problems
here - In part it reads...as an example

   switch(methodid) {
      /*
      ** Of course, the other Methods should be done as well
      */
      case AMIPLUGPREFS_Create:
         /* 
         ** Sets the Prefs as an Empty Rectangle Area 
         **  - I do have the actual one using a very complex object
         */
         prefs->object = GroupObject,
                            Child, RectangleObject, End,
                         End;           
         break;
      case AMIPLUGPREFS_Dispose:
         MUI_DisposeObject(prefs->object);
         break;
      default:
         break;
      }

[SNIP]

> 7. When you /UNLOAD a plugin with a ctcp command, arexx scripts using
> that command don't work (my plugin stopped kuang from xdcc after i
> unloaded it)

I noticed that you should not use any plugin /load, /unload, /reload
commands from inside the Plugin that you are doing it to...

Nice death failure (Makes sense, seeing how the routine to say the command
has nowhere to come back to.)

[SNIP]

> 11. Setup->Events, add an "Enable/Disable" button - i don't want to have
> to delete the Rexx command, only to have to try and remembe what i
> deleted later.

Yes, that would be useful.

-- 
Richard H. Poser II (The Next Regeneration) <mailto:[EMAIL PROTECTED]>
-- 
The Whomiga Times:   http://www.missingpiece.com/whomiga/index.html
Doctor Who Pinball:  http://www.missingpiece.com/pinball/drwho/index.html
Amiga Inform Page:   http://www.missingpiece.com/inform/amiga.html
-- 
Official RADW/#DWC Birthday Clearinghouse - Team AMIGA - IRC: Whomiga

__________________________________________________________
AmIRC Mailing List - Info & Archive: http://www.vapor.com/
For Listserver Help: <[EMAIL PROTECTED]>, "HELP"
To Unsubscribe: <[EMAIL PROTECTED]>, "UNSUBSCRIBE"

Reply via email to