home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / tools / 1435 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  2.8 KB

  1. Path: sparky!uunet!utcsri!torn!nott!cunews!revcan!software.mitel.com!kim!kim
  2. From: kim@Software.Mitel.COM (Kim Letkeman)
  3. Newsgroups: comp.os.ms-windows.programmer.tools
  4. Subject: Re: ProtoGen from Borland
  5. Message-ID: <KIM.92Nov16092705@kim.Software.Mitel.COM>
  6. Date: 16 Nov 92 14:27:05 GMT
  7. References: <BxoA25.KrJ@usenet.ucs.indiana.edu>
  8.     <1992Nov15.022508.252@panix.com>
  9. Sender: kim@Software.Mitel.COM
  10. Organization: MITEL Public Switching, Kanata, Ontario, Canada
  11. Lines: 48
  12. In-reply-to: rryan@panix.com's message of 15 Nov 92 02:25:08 GMT
  13.  
  14. In article <1992Nov15.022508.252@panix.com> rryan@panix.com (Rob Ryan) writes:
  15.  
  16. | In <BxoA25.KrJ@usenet.ucs.indiana.edu> ezachris@cochiti.ucs.indiana.edu writes:
  17. | >I have Turbo C++ 3.1 for Windows with OWL and the Resource Workshop.
  18. | >
  19. | >Borland's offering the ProtoGen code generator for $49.90.
  20. | >Does anybody know anything about this?
  21. | >Is it worth the fifty bucks?
  22. | Not in my opinion.  It lets you connect menus w/ dialogs, but that's
  23. | about it.  I have v2.0 (I ordered it when I got tcwin v3.0) and it
  24. | only does the rudimentary processing that's easy to do anyway.
  25. | Perhaps the latest version (if v2.0 isn't the latest version) added
  26. | lots of functionality, but v2.0 isn't worth it.  And it definitely
  27. | isn't worth the $495 that they claim it it's worth.
  28.  
  29. I have just begun using it and I find that it does one thing well,
  30. which is to set up a framework for you. But an experienced C++
  31. programmer probably already has several applications to provide the
  32. framework for the next application.
  33.  
  34. I found what may be a bug (but still might be my misuse of the
  35. package.) I painted a dialog to serve as the main window for a small
  36. test application and the application code that Protogen generated did
  37. not successfully run. I received the classic error -5 indicating that
  38. the dialog window could not be created.
  39.  
  40. After much fumbling around I looked at the calc sample application
  41. that comes with application frameworks and found that Protogen does
  42. not appear to use the dialog name correctly in the handling of the
  43. dialog window.
  44.  
  45. Anyway, I changed the code by hand to match calc's mechanism, which
  46. only took a couple of minutes, and everything worked fine. I went into
  47. a second directory and, using everything I had learned about the
  48. naming conventions to use for the icon and dialog, I regenerated a
  49. fresh application. It still failed, so I don't think Protogen (version
  50. 2.2) handles dialog boxes as main windows all that well.
  51.  
  52. That said, I think it is a decent tool for those who are brand new to
  53. C++ and need a frame work to get over the learning hump for those
  54. first few apps. It may be worth the $49 in saved time alone. It may
  55. also help for those apps which have a huge number of linked dialogs.
  56. It will generate all the useful routines to handle the controls and
  57. that can be pretty useful.
  58. --
  59. Kim Letkeman    kim@Software.Mitel.COM
  60.