home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / atari / st / tech / 4462 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.4 KB

  1. Path: sparky!uunet!mcsun!uknet!gdt!aber!ssw
  2. From: ssw@aber.ac.uk (Simon the Loony)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Re: Using Setexec() [a bit of help needed]
  5. Message-ID: <1992Aug18.134809.12251@aber.ac.uk>
  6. Date: 18 Aug 92 13:48:09 GMT
  7. References: <1992Aug17.083005.6390@aber.ac.uk> <1992Aug17.175736.7804@pbhya.PacBell.COM> <1992Aug18.102246.21175@vlsi.louisville.edu>
  8. Organization: Department of Physics, University of Wales, Aberystwyth
  9. Lines: 27
  10.  
  11. r0mill01@ulkyvx.louisville.edu scribbled : 
  12.  
  13. [assorted mince deleted]
  14.  
  15. =>If jumpto is a pointer to a function, won't the call jumpto() cause a "bad 
  16. =>indirection" error in the compiler?  Shouldn't it be called by
  17. => (*jumpto)();  ?
  18. =>
  19. Nope ... this works perfectly on my C compiler (Sozobon V2.0) ... you've just
  20. got to be careful to declare the functions appropriately. Thanks to those who
  21. helped me suss this out BTW -- error trapping has never been so much fun :-)
  22.  
  23. One side note, to the person who suggested I post this query to comp.lang.c, I
  24. didn't for two reasons :
  25.  
  26. -    This is an Atari related problem (now sorted out)
  27. -    The people in comp.lang.c seem too busy flaming each other about 
  28.     coding styles.
  29.  
  30. Simon.
  31.  
  32. PS.    Anyone know of a decent reference book for Atari programming? I've
  33.     discovered (the hard way) that ``Internals'' is a load of crap :-(
  34.     Preferably, the book should have a little in it about STe specific
  35.     bits and something about the TT would be nice too. 
  36.  
  37.     Thanks in advance.
  38.