home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 17882 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.4 KB

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