CompuServe Messages

#Small code

    09-Dec-87 20:42:35
Sb: #97542-#Small code
Fm: Glenn Nielsen 75115,444
To: Paul Montgomery 71500,3525
Paul, well, Astartup.obj is one of several startup modules for the front end of C ( or even Assy ) programs that are started from the CLI or WorkBench. Others that I know of include c.o, cback.o, TWstartup.obj, Lstartup.obj, and I'm sure there are others floating around. Which one you use depends on what you need done on startup for your main program module. I'm not going to list the features of them here. You can look at the source code for them to see what they accomplish for you. Or, you can even write your own. The Basic types of things that they perform are things like: Opening the dos.library Setting up stdin, stdout, stderr Determining where program was started from (WB or CLI) For further info, there is a discussion about startup in the RKM's. If you are unsure, you could stick with c.o until you are more familiar with the startup & program environment. BTW, there might be a C example of a 'Hello World' in the DL's. If not, there is one in the Intuition Manual. Good Luck, <Glenn