Le 14/06/2005, Fritsch Alexander a �crit:

> Hello Ilkka,

Hi, that's me again, at home this time :)

> There a "HookEntry" is used several times but is not defined anywhere.
> Does that also come from MorphOs or GCC? Could you give me another advise,
> please?

Here is what I use in the examples of my MUI tutorial (written in french and
available on our site http://www.guru-meditation.net/main.php3, dedicated
to the Amiga programming) :

#if defined(__SASC)

extern ULONG HookEntry( struct Hook *hookPtr, Object *obj, APTR message );

APTR __stdargs DoSuperNew(struct IClass *cl, APTR obj, ULONG tag1, ...)
{
    return ((APTR)DoSuperMethod(cl, obj, OM_NEW, &tag1, NULL));
}
#endif

I let the DoSuperNew function because it may be useful for people, as this
function is not in the amiga.lib from SAS/C.

Regards,

-- 
Mathias PARNAUDEAU



------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/16uqlB/TM
--------------------------------------------------------------------~-> 

Visit http://www.amiga.dk/tumult for MUI-related
information, especially about MUI custom classes. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MUI/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to