home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!prism!emperor!collins
- From: collins@emperor.gatech.edu (Tom Collins)
- Newsgroups: comp.lang.c++
- Subject: Re: ProtoGen from Borland
- Message-ID: <74961@hydra.gatech.EDU>
- Date: 16 Nov 92 14:41:56 GMT
- References: <Bxo9vo.KCx@usenet.ucs.indiana.edu>
- Sender: news@prism.gatech.EDU
- Organization: CERL-EE, Georgia Institute of Technology
- Lines: 44
-
- In article <Bxo9vo.KCx@usenet.ucs.indiana.edu> ezachris@cochiti.ucs.indiana.edu writes:
- >Borland's offering the ProtoGen code generator for just $49.90.
- >Does anbody know anything about this?
- >Is it worth spending fifty bucks for?
-
- I can't pretend to be an authority on ProtoGen, but I did get a free copy
- with my Borland C++, and I played with it a bit. Here's how one typically
- uses it:
- - You still use Resource Workship, Whitewater Toolkit, Microsoft SDK,
- or whatever is your favorite resource editor, at least for icons,
- dialog boxes, and miscellaneous bitmaps.
- - You can design menus in either ProtoGen OR your resource editor. Why?
- Because ProtoGen works by letting you start with a main application
- window, define a menu, connect dialog boxes to menu items, submenu
- items, and buttons in other dialog boxes, until you have your basic
- application framework (i.e., if you use Protogen, it makes sense to
- design the menus inside it, but you don't have to -- and if you
- load other menus later, you presumably would use your resource editor).
- - You also perform some other basic operations in ProtoGen, like defining
- the background color of the main window and connecting an icon to the
- app.
- - You may test the flow of the application within ProtoGen. When you're
- happy, you generate code, which you may compile without leaving, if
- you like. The code can be either C or C++ (your choice), and it
- includes ObjectWindows calls for the Windows functions. The code
- has all of the appropriate gaps for you to fill in with the stuff
- which makes it really do something. If you run the "empty" version
- generated by ProtoGen, it acts just like it does when you test the
- application flow inside ProtoGen.
- - You are supposed to be able to keep using ProtoGen after you've
- added code, if you follow the rules.
-
- My gut feeling is that I'm going to like ProtoGen for applications with
- fairly straightforward user interfaces. I find it tedious to get over
- the hump when starting a new application from scratch, and ProtoGen
- seems to do the busy work. Whether or not it makes sense for an application
- which starts simple but eventually loads other menu resources and makes
- use of the multiple document interface, etc. -- I don't know.
-
- --
- Tom Collins tom.collins@ee.gatech.edu
- Georgia Institute of Technology (404) 894-2509
- 400 Tenth St. NW, CRB 384
- Atlanta, GA 30332-0540
-