home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!emily10.Berkeley.EDU!jeff
- From: jeff@emily10.Berkeley.EDU (Jeffrey C. Ely)
- Newsgroups: comp.lang.c++
- Subject: Define WIN30/WIN31 ?
- Date: 13 Dec 1992 01:32:26 GMT
- Organization: Dept. of Statistics, U. C. Berkeley
- Lines: 18
- Message-ID: <1ge3raINN5k3@agate.berkeley.edu>
- References: <1919@alcbel.be> <1992Nov17.144939.21793@cc.gatech.edu> <mazz.722147924@mars>
- NNTP-Posting-Host: emily10.berkeley.edu
- Summary: beginner's question
-
- I am just learning C++ and windows programming and I am going through the
- tutorial on OWL in the Turbo C++ documentation. The tutorial takes you
- through the development of a windows application called Steps.
-
- Well I my first attempt at compilation was the step1.cpp program. I was a
- little bothered that the compilation failed because "OWL applications require
- either WIN30 or WIN31 to be defined." I know nothing about these macros (?)
- and can find nothing about them in the documentation. (I am guessing that
- they are flags for which version of Windows is running)
-
- Just as an experiment I added the line #define WIN30. I got past that fatal
- error only to get a whole bunch of new errors, the first of which were four
- repetitions of "Cannot access Object.H" Why are there errors in Borland's
- own example source files and header files ?!? I know I'm missing something.
- Can anyone help?
-
- Jeff Ely
- jeff@econ.berkeley.edu
-