Listing 2: Handlingvon Prefs mit Hilfe der application.library. struct Library *ApplicationBase; struct PrefsObjectsIFace *IPrefsObjects; if((ApplicationBase = IExec->OpenLibrary("application.library",50))) { if((IPrefsObjects = (struct PrefsObjectsIFace *) IExec->GetInterface(ApplicationBase,"prefsobjects",1,NULL))) { ... IExec->DropInterface((struct Interface *)IPrefsObjects); } IExec->CloseLibrary(ApplicationBase); }