home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / tools / 1908 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.9 KB  |  49 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!news.claremont.edu!ucivax!news.service.uci.edu!unogate!mvb.saic.com!ast.saic.com!seymour
  3. From: seymour@ast.saic.com (Ken Seymour)
  4. Subject: Re: Protogen/ Owl directories
  5. Message-ID: <1993Jan7.003733.6258@ast.saic.com>
  6. Sender: news@ast.saic.com
  7. Organization: SAIC
  8. References: <1993Jan6.060043.28516@umr.edu> <86238@ut-emx.uucp>
  9. Date: Thu, 7 Jan 1993 00:37:33 GMT
  10. Lines: 37
  11.  
  12. >
  13. >In article <1993Jan6.060043.28516@umr.edu> chrisg@cs.umr.edu (Chris Gorsuch) writes:
  14. >I have recently purchased the Borland C++ 3.1 compiler.
  15. >It came with the ProtoGen windows creator included with it.
  16. >The problem is that Protogen is Looking for /borlandc/owl/owl.h
  17. >and it causes an error when it realizes that I have no owl directory
  18. >
  19.  
  20. There should be an option in Protogen that allows using OWL with C++ or
  21. just SDK calls with C.  Try switching it to the latter and give it a
  22. try.  It worked for me.
  23.  
  24.  
  25.  
  26. >
  27. >Question 2 is what header file should I give protogen...
  28. >ie how do I hook MY code into the individual menus I have set up.
  29. >It would appear from the little pamphlet that I do all of the protogen
  30. >work first and THEN create my code and hook it into it.
  31. >but without being able to get by the owl problem I can't begin to tackle
  32. >the second problem
  33. >
  34.  
  35. For each control (menu or button) there is entry in a switch statement.
  36. Protogen generates special pairs of comments for each of these.  Any
  37. code added there is preserved in successive generations.  There are also
  38. comment pairs for the top of each file (the header section) where you
  39. can declare variables and include your own header files.
  40.  
  41. This approach is IMHO a very powerfull way to go.  Sun Microsystems
  42. sells a  similar tool for X Windows that uses the same approach.  We
  43. will be looking very strongly at using Protogen for production software.
  44.  
  45. -- 
  46. Ken Seymour
  47. seymour@ast.saic.com
  48. KD6PSW on 10 meters
  49.