On Monday, 25-Oct-99, Richard wrote:
> 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]
Exactly the same thing I was doing, only it would end up hanging, then
crashing a few minutes later, I must admit mine was a *hell* of a lot
bigger (just started rewriting it too), and i have a pretty well-patched
system (138 patches at last count) but it's normally rock stable, so i'm
not sure what causes it...
Rycochet
--
� Phone: (+44) [0]1865 311846
� Email: [EMAIL PROTECTED]
� ICQ: 13463163
__________________________________________________________
AmIRC Mailing List - Info & Archive: http://www.vapor.com/
For Listserver Help: <[EMAIL PROTECTED]>, "HELP"
To Unsubscribe: <[EMAIL PROTECTED]>, "UNSUBSCRIBE"