Hello guillaume
J'ai jamais essaye mais selon cette page
http://amigadev.elowar.com/read/ADCD_2.1/AmigaMail_Vol2_guide/node0091.html il faudrait plutôt faire comme ça :
if (screen = OpenScreenTags(NULL, SA_DisplayID, HIRES_KEY,
SA_Depth, 2, SA_Title, "Mon Public Screen",
SA_PubName, "PublicScreen",
/* By providing the public name, you indicate
it will be public */
SA_Pens, dri_Pens,
SA_ErrorCode, &oserror,
TAG_END))
{
/* change mode from 'private' to 'public' */
oldstatus = PubScreenStatus(screen, 0);}
}