exec.library 53.94 (03/03-2017) (A1222 version)
- Code: Select all
#include <proto/exec.h>
int main( int argc UNUSED, char **argv UNUSED )
{
IExec->Alert( 0 );
return( 0 );
}
#include <proto/exec.h>
int main( int argc UNUSED, char **argv UNUSED )
{
IExec->Alert( 0 );
return( 0 );
}
broadblues wrote:What you *should* see is Grim Reaper displaying the Alert number you passed to IExec->Alert(). Ie 00000000 in the test case you wrote above.
#define AT_DeadEnd 0x80000000
#define AT_Recovery 0x00000000
Running it now it keeps bringing up a GR which isn't right
broadblues wrote:This is how alerts are dealt with now, classic style yelow recevreable alrts kill the system, so are no longer appropriate, so yes it *is* "right".
There is no real reason to use an alert on Amiga OS4 anyway.
Hypex wrote:It's not right for my program which uses the alert function to bring up an alert.
trixie wrote:Hypex wrote:It's not right for my program which uses the alert function to bring up an alert.
Why not use a requester for that instead?
trixie wrote:Why not use a requester for that instead?
Return to General Developer Support
Users browsing this forum: No registered users and 2 guests