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