🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #868

Re: Protogen/ Owl directories

#868
From: Ken Seymour
Date: Thu, 07 Jan 1993 00:37
37 lines
1981 bytes
>
>In article <1993Jan6.060043.28516@umr.edu> chrisg@cs.umr.edu (Chris Gorsuch) writes:
>I have recently purchased the Borland C++ 3.1 compiler.
>It came with the ProtoGen windows creator included with it.
>The problem is that Protogen is Looking for /borlandc/owl/owl.h
>and it causes an error when it realizes that I have no owl directory
>

There should be an option in Protogen that allows using OWL with C++ or
just SDK calls with C.  Try switching it to the latter and give it a
try.  It worked for me.



>
>Question 2 is what header file should I give protogen...
>ie how do I hook MY code into the individual menus I have set up.
>It would appear from the little pamphlet that I do all of the protogen
>work first and THEN create my code and hook it into it.
>but without being able to get by the owl problem I can't begin to tackle
>the second problem
>

For each control (menu or button) there is entry in a switch statement.
Protogen generates special pairs of comments for each of these.  Any
code added there is preserved in successive generations.  There are also
comment pairs for the top of each file (the header section) where you
can declare variables and include your own header files.

This approach is IMHO a very powerfull way to go.  Sun Microsystems
sells a  similar tool for X Windows that uses the same approach.  We
will be looking very strongly at using Protogen for production software.

-- 
Ken Seymour
seymour@ast.saic.com
KD6PSW on 10 meters
Technical Details
Message-ID: <1993Jan7.003733.6258@ast.saic.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!news.claremont.edu!ucivax!news.service.uci.edu!unogate!mvb.saic.com!ast.saic.com!seymour
References: <1993Jan6.060043.28516@umr.edu> <86238@ut-emx.uucp>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!news.claremont.edu!ucivax!news.service.uci.edu!unogate!mvb.saic.com!ast.saic.com!seymour
From: seymour@ast.saic.com (Ken Seymour)
Subject: Re: Protogen/ Owl directories
Message-ID: <1993Jan7.003733.6258@ast.saic.com>
Sender: news@ast.saic.com
Organization: SAIC
References: <1993Jan6.060043.28516@umr.edu> <86238@ut-emx.uucp>
Date: Thu, 7 Jan 1993 00:37:33 GMT
Lines: 37