home *** CD-ROM | disk | FTP | other *** search
/ Total C++ 2 / TOTALCTWO.iso / borland / readme.txt < prev    next >
Text File  |  1997-05-06  |  10KB  |  329 lines

  1. /*****************************************************************/
  2.                   Welcome to Borland C++ Release 5.02
  3. ------------------------------------------------------------------
  4.  
  5. This README file contains important information about Borland C++.
  6. For information about OWL updates, see \BC5\DOCS\OWL5.TXT.
  7.  
  8. --------
  9. CONTENTS
  10. --------
  11. * Contacting Borland
  12. * Online Licenses
  13. * Redistributable Files List
  14. * New IDE Features
  15. * Incremental Linker
  16. * Interoperability with Borland C++Builder
  17. * New Scripting Features
  18. * New Resource Workshop Features
  19. * Issues
  20.  
  21. ------------------
  22. Contacting Borland
  23. ------------------
  24.  
  25. Borland offers a range of services to provide comprehensive 
  26. product information, updates, and product services. You can 
  27. get more information on Borland C++ by contacting any of 
  28. these resources:
  29.  
  30. World Wide Web:  http://www.borland.com/
  31.  
  32. Tech Info page:  http://www.borland.com/TechInfo/
  33.  
  34. FTP:             ftp.borland.com
  35.  
  36. Up & Running:    (408) 461-9133 (Installation support)
  37.  
  38. Listserv:        listserv@borland.com
  39. Send an email message containing this text:
  40.  
  41.   SUBSCRIBE<space>BCPP<space>FIRSTNAME<space>LASTNAME
  42.  
  43. ---------------
  44. Online Licenses
  45. ---------------
  46.  
  47. Borland now provides the software license online. Refer to 
  48. the file license.txt in the root directory of the CD for details.
  49.  
  50. --------------------------
  51. Redistributable Files List
  52. --------------------------
  53.  
  54. Refer to the file redist.txt for a list of redistributable 
  55. files for Borland C++ 5.02.
  56.  
  57. ----------------
  58. New IDE Features
  59. ----------------
  60.  
  61. The IDE includes many usability enhancements in this release.
  62. They are listed briefly in the following sections. Refer to 
  63. online Help for details.
  64.  
  65. Compiler Enhancements
  66. ---------------------
  67.  
  68. * New 32-bit compiler (BCC32.EXE) provided with this release
  69.  
  70. * A Make following a failed Build All rebuilds from the point 
  71.   of failure 
  72.  
  73. * New compiler option under Options|Project|C++ Options|
  74.   General called Zero-Length Empty Class Member Function (like -Vx)
  75.  
  76. Editor Enhancements
  77. -------------------
  78.  
  79. * Read-only files identified by an "R" after the file name
  80.  
  81. * Modified files include an asterisk (*) after the file name
  82.  
  83. * Search|Replace includes a Change All option
  84.  
  85. * IDE remembers the cursor position of the last 100 
  86.   edit buffers that you closed 
  87.  
  88. * IDE automatically loads the Tips script to display tool tips
  89.  
  90. * Cursor changes in left gutter to indicate that a click 
  91.   will drop a debugger breakpoint
  92.  
  93. Debugging Enhancements
  94. ----------------------
  95.  
  96. * New options in Options|Environment|Debugger|Debugger Behavior:
  97.   Do not save files or prompt when debugging and Do not prompt
  98.   when attempting to run 16 bit applications
  99.  
  100. * New option in Options|Project|Compiler|Debugging:
  101.   Detach Debug Information from OBJs
  102.  
  103. * Debugger status glyphs: Lightning bolt (if running)
  104.   and Pause Process (if stepping or at breakpoint)
  105.  
  106. * Debug menu: View Locals command creates Local Inspector (to 
  107.   watch local variables) when the IDE Debugger has a process loaded
  108.  
  109. * The Watch window shows values in hex, decimal, or both formats
  110.  
  111. * CPU View stack pane indicates the current position
  112.  
  113. * While debugging, editor tooltips display the value of the symbol
  114.   under the pointer
  115.  
  116. Message Window Enhancements
  117. ---------------------------
  118.  
  119. * An .RC file's source date and time format 
  120.   reflect the format of the country setting
  121.  
  122. * The default position of the Message window has changed
  123.  
  124. * You can use Ctrl+ A to clear the Build tab
  125.  
  126. * Clear before Make/Build in Options|Environment|Preferences
  127.  
  128. * Double-click on an unresolved external error message 
  129.   in the Build tab opens the file with the external reference
  130.  
  131. Project Management Enhancements
  132. -------------------------------
  133.  
  134. * Project menu: Stop Background Task appears during an 
  135.   asynchronous build 
  136.  
  137. * Project window glyphs: A red check mark (node has 
  138.   Local Overrides) and a clock with a red X on it 
  139.   (node out of date and will be rebuilt on the next make)
  140.  
  141. * The default position of the Project window has changed
  142.  
  143. * Compatibility: Two new Project Options on the C++ Options|C++ 
  144.   Compatible dialog, Destructor Cleanup Compatibility and Class 
  145.   Layout Compatibility
  146.  
  147. General Enhancements
  148. --------------------
  149.  
  150. * Preprocessor: Invoking the preprocessor automatically loads
  151.   the output into the edit buffer
  152.  
  153. * Syntax highlighting: Scope delimiters ) and } can be 
  154.   customized; preprocessor directives highlighted only 
  155.   instead of highlighting the whole line
  156.  
  157. * File|Open dialog boxes: Enable filename completion 
  158.   available in Options|Environment|Preferences for files 
  159.   and directories
  160.  
  161. * Keyboard Shortcuts: You can use Ctrl+S to find the ~, <, and > 
  162.   characters 
  163.  
  164. * Windows NT: Shutting down the computer now saves an open 
  165.   .IDE file. 
  166.  
  167. ------------------
  168. Incremental Linker
  169. ------------------
  170.  
  171. Borland C++ provides an incremental linker that dramatically improves 
  172. link times (after the initial link). To use it, check Incremental 
  173. Linker on the Options|Project|Linker|32-bit Linker page. 
  174.  
  175. ----------------------------------------
  176. Interoperability with Borland C++Builder
  177. ----------------------------------------
  178.  
  179. If you have Borland C++Builder, you can add the C++Builder .MAK 
  180. makefiles as nodes to your BCW projects. Refer to BCW.HLP for
  181. more information.
  182.  
  183. ----------------------
  184. New Scripting Features
  185. ----------------------
  186.  
  187. * File maintenance/navigation script (DIRVIEW.SPP)
  188.  
  189. * New method ProjectStopBackgroundTask() to terminate 
  190.   asynchronous build/make/compile/transfer
  191.  
  192. * remove_view_menu_item function in MENUHOOK.SPP lets you 
  193.   remove IDE main menu items 
  194.  
  195. * SearchAll hot key changed from A to L. 
  196.   (A clears the Message tab.) 
  197.  
  198. ------------------------------
  199. New Resource Workshop Features
  200. ------------------------------
  201.  
  202. * 32-bit custom control DLL support in 
  203.   Options|Environment|Resource Editors|Control Libraries
  204.  
  205. * New menu command Dialog|Resize to Content
  206.  
  207. * Dialog editor enhancements
  208.  
  209. * Check for Duplicate ID on the Dialog menu 
  210.  
  211. * Dynamic IDE status bar 
  212.  
  213. * Entry of DBCS characters in the menu editor 
  214.  
  215. * Code page support in Resource compiler through -c switch 
  216.   and #pragma code_page(ID-num)
  217.  
  218. ------
  219. Issues
  220. ------
  221.  
  222. New 32-bit Compiler Rule
  223. ------------------------
  224.  
  225. The new 32-bit compiler implements a language requirement that may
  226. break some existing code. The new rule is that you cannot pass a
  227. temporary variable by reference--you must pass it by const reference.
  228.  
  229. For example, given a function with this prototype:
  230.  
  231.   func1 (TMyClass& o);
  232.  
  233. the following call used to be acceptable:
  234.  
  235.   func1 ( TMyClass() );
  236.  
  237. However, you must now change the call to:
  238.  
  239.   func1(TMyClass const & 0)
  240.  
  241. Some of the OWL examples have not been updated for this new change. 
  242.  
  243. Command-Line Options
  244. --------------------
  245.  
  246. The command line compiler creates multithreaded applications
  247. by default. The -WM option is on by default.
  248.  
  249. If using the -i and -s command-line options together, note that the -i
  250. must precede the -s to work properly.
  251.  
  252. Compiler/Linker Errors
  253. ----------------------
  254.  
  255. If you receive the following compiler and linker error messages
  256. when you compile from the command line:
  257.  
  258. Error: Unresolved external 'TApplication::Dispatch(TEventHandler::TEventInfo&,int,long)'
  259.    referenced from module GDIDEMO.CPP
  260. Error: Unresolved external 'TWindow::Dispatch(TEventHandler::TEventInfo&,int,long)'
  261.    referenced from module GDIDEMO.CPP
  262.  
  263. it most likely means you are compiling as a multithreaded application,
  264. but are linking with the single-threaded OWL libs. This is because
  265. multithread is now the default application type. To remedy this, 
  266. add -WM- to your options to turn multithreaded targeting off.
  267.  
  268. Restricted Keywords
  269. -------------------
  270.  
  271. The following keywords are reserved for use in Borland C++Builder:
  272.  
  273. __automated
  274. __classid
  275. __closure
  276. __dispid
  277. __property
  278. __published
  279.  
  280. Don't use these in your Borland C++ programs.
  281.  
  282. Multiple Declarations for HSZ
  283. -----------------------------
  284.  
  285. If the error Multiple Declarations for HSZ is displayed, you need to 
  286. edit \BC5\INCLUDE\WN32\DDEML.H and include the following statement:
  287.  
  288.   #define __DDEML_H
  289.  
  290. STL Stack
  291. ---------
  292.  
  293. Although unlikely, if you want to use a stack of vectors of bools,
  294. you must define the following before any of the header files:
  295.  
  296.   #define RWSTD_NO_BOOL
  297.  
  298. ------------------------
  299. OpenHelp 6.0 Upgrade Kit
  300. ------------------------
  301. The OHELP60 directory on the CD contains files that let you upgrade
  302. to OpenHelp 6.0. If you have C++Builder installed on the same computer
  303. as Borland C++, you already have OpenHelp 6.0. In this case, the upgrade
  304. merges the Borland C++ and C++Builder OPENHELP.INI files.
  305.  
  306. See OPENHELP.HLP for information on using OPENHELP 6.0.
  307.  
  308. Upgrading to OpenHelp 6.0
  309. -------------------------
  310.   If you have only Borland C++ on your computer
  311.   ---------------------------------------------
  312.   Run OHELPNEW.BAT. This batch file takes one parameter: The parameter 
  313.   specifies the drive and directory in which BC5 is installed. Enter a 
  314.   colon with the drive letter, followed by the backslash and directory 
  315.   name, e.g. C:\BC5
  316.   Example: OHELPNEW C:\BC5
  317.  
  318.   If you have Borland C++ and C++Builder on your computer
  319.   -------------------------------------------------------
  320.   Run OHELPRPL.BAT. This batch file takes two parameters: The first 
  321.   parameter specifies the drive and directory in which BC5 is installed. 
  322.   Enter a colon with the drive letter, followed by the backslash and 
  323.   directory name, e.g. C:\BC5 The second parameter specifies the drive 
  324.   where Borland programs are installed. Enter the drive letter followed 
  325.   by a colon, e.g. D:
  326.   Example: OHELPRPL C:\BC5 D:
  327.  
  328. /*************************  END OF FILE  ***************************/
  329.