home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15657 < prev    next >
Encoding:
Text File  |  1992-11-10  |  2.1 KB  |  63 lines

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!as170
  2. From: as170@cleveland.Freenet.Edu (Ronn F. Black)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: GadToolsBox Compiling Questions.
  5. Date: 11 Nov 1992 08:40:26 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 51
  8. Message-ID: <1dqgtqINNa54@usenet.INS.CWRU.Edu>
  9. Reply-To: as170@cleveland.Freenet.Edu (Ronn F. Black)
  10. NNTP-Posting-Host: slc4.ins.cwru.edu
  11.  
  12.  
  13. I realize that this may seem to be a rather stupid question but I need a 
  14. little clarification.
  15.  
  16. I have tried a couple of times to use GadToolsBox 37.111 (18.4.92)
  17. from Jaba Development and I am a little bit confused with getting the stuff
  18. to compile.
  19.  
  20. The documentation doesn't directly state this but, since there is no main()
  21. in the sources generated I assume you must create a main() in another 
  22. module or by adding to the sources generated.  
  23.  
  24. Is this the case, and is there a recommended way of doing this?  I think my 
  25. preference is a seperate file so that If I redesign the interface I can 
  26. regenerate from GadToolsbox without touching any of my other code.
  27.  
  28. Based on the above statement, I attempted to generate a simple test program
  29. with the following main() added to the generated source.
  30.  
  31.  
  32. main(){
  33.  
  34.   SetupScreen();
  35.  
  36.   OpenTestPgmWindow();
  37.  
  38.   TestPgmRender();                                                   
  39.   
  40.   delay(); /* Delay to see results */
  41.  
  42.   CloseTestPgmWindow();
  43.  
  44.   CloseDownScreen();
  45.  
  46. }
  47.  
  48. is the above even close to what I need to do or am I barking up the wrong 
  49. tree.
  50.  
  51. Please reply by mail since I don't always have the time to weed through
  52. this newsgroup.  If there is a general interest I will post a summary of
  53. responses.
  54.  
  55. Thankyou in advance.
  56. Ronn Black
  57.  
  58. -- 
  59. -------------- Ronn F. Black --> as170@Cleveland.Freenet.Edu ---------------
  60. Enter through the narrow gate. For wide is the gate and broad is the road that
  61. leads to destruction, and many enter through it. But small is the gate and
  62. narrow is the road that leads to life and only a few find it.      Matt7:13-14
  63.