home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18045 < prev    next >
Encoding:
Internet Message Format  |  1993-01-02  |  1.8 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!uniol!olis!oytix.north.de!wintermute.north.de!kaba
  2. From: kaba@wintermute.north.de (Kai Bartels)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: problems with my own devices & libraries
  5. Keywords: device library
  6. Message-ID: <1993Jan2.014844.12788@wintermute.north.de>
  7. Date: 2 Jan 93 01:48:44 GMT
  8. Article-I.D.: wintermu.1993Jan2.014844.12788
  9. Distribution: comp
  10. Organization: nothing (absolutely nothing) is organized here!
  11. Lines: 31
  12.  
  13. Hi.
  14. I'm trying to write some devices and libraries of my own and it seems
  15. that each one works very well on it's own. But unfortionately there
  16. are some dependencies between them, so they have to work together. And
  17. that's where my problems start:
  18. When I open one device or library (e.g. a.device) the thing gets
  19. loaded, the initRoutine and Open-routine get called and all is fine.
  20. Then the next one (e.g. b.library) should open, but an error is
  21. returned and the first one (a.device) appears in the system list
  22. (here: the device list) a second time, *and* it's initRoutine is
  23. called again.
  24. This doesn't seem to happen if I try to open a device or library that
  25. is not one of mine as the second one.
  26. Basically I copied the skeleton device and library code from an old
  27. libraries and devices rom kernel manual (1.2 I think) and the whole
  28. thing runs on an 1.3 OS.
  29.  
  30. What am I doing wrong?
  31.  
  32. N.B.: Please reply by eMail since I don't receive this group.
  33.  
  34. many thanx in advance, Kai
  35.  
  36. P.S.: By the way: does anyone know what this RTF_COLDSTART is good
  37.       for?
  38.  
  39. -- 
  40. "Don't stop me, 'cause I'm havin' a good time
  41.  I don't wanna stop at all"                                           <Queen>
  42. Uni: g14b@alf.zfn.uni-Bremen.de        +       Home: kaba@wintermute.north.de
  43. Snail:    Kai Bartels    +    Poelzigstr. 4    +    2800 Bremen 1    +    FRG
  44.