home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Programming / MultiDesktop / desk / bak / rem.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-27  |  273 b   |  19 lines

  1. #include <exec/types.h>
  2. #include <exec/execbase.h>
  3.  
  4. extern struct ExecBase *SysBase;
  5.  
  6. void main()
  7. {
  8.  struct Library *lib;
  9.  
  10.  lib=FindName(&SysBase->LibList,"multidesktop.library");
  11.  if(lib)
  12.   {
  13.    lib->lib_OpenCnt=60000;
  14.    Remove(lib);
  15.    puts("Library entfernt!");
  16.   }
  17. }
  18.  
  19.