home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5245 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: dispatch.news.demon.net!demon!redrobe.demon.co.uk
  2. From: Mike@Redrobe.demon.co.uk (Mike)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: 08 Mar 96 13:16:08 +0000
  6. Message-ID: <1219.6641T796T412@Redrobe.demon.co.uk>
  7. References: <4hm7qm$otm@news.uni-paderborn.de>
  8. NNTP-Posting-Host: redrobe.demon.co.uk
  9. X-NNTP-Posting-Host: redrobe.demon.co.uk
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12.  
  13. Hi, Ralph Schmidt , on 07-Mar-96 08:47:18 you scribbled....
  14. >On 03/05/96, Chris Hames wrote:
  15. >>sten@academy.bastad.se (Sten Jansson) writes:
  16. >>
  17. >>>When calling FindTask() with FindTask(0) and there are several tasks with
  18. >>>the same name as the task that is calling e.g. "shell process" - can you
  19. >be
  20. >>>sure that it finds the right task?
  21. >>
  22. >>Yes because with the NULL argument it will just use SysBase->ThisTask which
  23. >>you can read yourself but hey when there is a system call use it.
  24. >>
  25. >>--
  26. >>Chris Hames   bytey@werple.mira.net.au (OR bytey@melbourne.dialix.oz.au)
  27.  
  28. >Very Important!
  29.  
  30. >Never ever use SysBase->ThisTask for your programs. It will be
  31. >banned/forbidden in the next OS release. So please start using
  32. >FindTask(NULL) now to make the life easier for an emulator.
  33.  
  34. Thanks for the pointer.
  35.  
  36. whilst we're on the topic of future compatability:
  37.  
  38.  
  39. scr->ViewPort.RasInfo->RyOffset=y;
  40. ScrollVPort(&scr->ViewPort);
  41.  
  42. is this fully compatable, would it even work on a gfx card (Cgfx)?
  43.  
  44.  
  45. Mike
  46.  
  47. --
  48. ---------------------------------------------------------------------------
  49. Mike Redrobe - Mike@Redrobe.demon.co.uk         MikeRR on #Amiga
  50. ---------------------------------------------------------------------------
  51.  
  52.