home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2685 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.8 KB  |  56 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. References: <DLHytp.3GA@uns.bris.ac.uk> 
  3. X-Newsreader: MicroDot 1.8 
  4. Mime-version: 1.0
  5. Content-Type: text/plain; charset=iso-8859-1
  6. Content-Transfer-encoding: 8BIT
  7. Path: news.tng.oche.de!tomate.tng.oche.de
  8. X-Gateway: ZCONNECT UE utomate.tng.oche.de.tomate.tng.oche.de [PolyNet zTOr V4.901 Serie: "light"]
  9. Subject: Re: C AppIcon Programming.
  10. Message-ID: <xE3boMD1A7aRz1@0dietmar.tomate.tng.oche.de>
  11. Date: Sat,  3 Feb 96 13:53:28 GMT
  12. Organization: Developer
  13. X-ZC-TELEFON: +49-(0)241/81665
  14. X-ZC-POST: Mies-v-d-Rohe-Str.31 D-52074 Aachen
  15. From: DIETMAR@TOMATE.TNG.OCHE.DE (Dietmar Eilert)
  16.  
  17. jw4505@irix.bris.ac.uk (J. Warren) schrieb am 20.01.1996:
  18.  
  19. JW> I have recently started to dable in 'C' programming, using the coverdisk version of Dice,
  20. JW> and have been trying to get an AppIcon to appear on my A1200. The problem is that as soon
  21. JW> as my program get to opening the AppIcon it guru's. I know the disk object part works
  22. JW> because I've copied a diskicon to RamDisk: and it poped up, anyone got any suggestions or
  23. JW> better yet code? I would post mine but I'm at Uni and it isn't, ta in advance,
  24.  
  25. DICE bug if you are using a pre-3.0-version; try the following lines (saved as
  26. appicon.a):
  27.  
  28. ; Replacement for _AddAppIconA
  29.  
  30.       xdef  _AddAppIconA
  31.       xref  _WorkbenchBase
  32.       xref  _LVOAddAppIconA
  33.  
  34.       SECTION AddAppIconA,CODE
  35.  
  36. _AddAppIconA
  37.       movem.l  a2-a4/a6,-(a7)
  38.       move.l   _WorkbenchBase(a4),a6
  39.       movem.l  20(a7),d0-d1/a0-a4
  40.       jsr      _LVOAddAppIconA(a6)
  41.       movem.l  (a7)+,a2-a4/a6
  42.       rts
  43.  
  44.       END
  45.  
  46. * In a random sampling of GoldED users, 100% said that they'd rather use
  47.   GoldED than be publically flogged, eaten alive by pirhanas, OR watch
  48.   SeaQuest DSV.
  49.  
  50. /\/\ GED Support
  51. /\/\ FAX +49-(0)241-81665
  52. /\/\ FAX +49-(0)241-81665-(Pause)-22
  53.  
  54. -- MicroDot 1.8
  55.  
  56.