home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / sql / dblib / c / readme.txt < prev   
Encoding:
Text File  |  1996-04-03  |  4.5 KB  |  115 lines

  1. ****************************************************************
  2.          MICROSOFT SQL SERVER WORKSTATION SYSTEM 6.5
  3.               DB-LIBRARY FOR C SAMPLE PROGRAMS
  4. ****************************************************************
  5. This file describes the DB-Library for C sample programs included
  6. with Microsoft(R) SQL Server(TM) Workstation System 6.5.
  7.  
  8. For additional information about SQL Server 6.5, DB-Library for C,
  9. and ODBC, see the "What's New in SQL Server 6.5," "Programming 
  10. DB-Library for C," and "Programming ODBC for SQL Server" sections
  11. of SQL Server Books Online, which contains the most up-to-date 
  12. information available.
  13.  
  14. ****************************************************************
  15. DB-LIBRARY FOR C SAMPLE APPLICATIONS
  16.  
  17. The DB-Library for C sample program files are stored as projects
  18. in their own directories. The following DB-Library sample projects 
  19. are targeted to specific client operating systems: Microsoft(R) 
  20. Windows NT(R) and Microsoft Windows(R) 95 for Intel(R), MIPS(R), 
  21. Alpha AXP(R), and PowerPC(TM) platforms; Microsoft Windows and 
  22. MS-DOS(R) for Intel. Each of these samples has an associated make 
  23. file for building with the NMAKE utility:
  24.  
  25. ****************************************************************
  26. DB-LIBRARY FOR C SAMPLE 32-BIT APPLICATIONS
  27.  
  28. Windows NT for Intel, Alpha AXP, MIPS, and PowerPC platforms
  29.  
  30. Project directories are located in the following path:
  31.  
  32.      C:\MSSQL\SAMPLES\DBLIB\C
  33.  
  34.      EXAMPLE1    Sending queries in a command batch
  35.      EXAMPLE2    Working with data files
  36.      EXAMPLE3    Binding aggregate and compute results
  37.      EXAMPLE4    Using row buffering
  38.      EXAMPLE5    Converting data with dbconvert
  39.      EXAMPLE6    Querying and updating the database
  40.      EXAMPLE7    Using browse-mode functions
  41.      EXAMPLE8    Using remote stored procedures and return 
  42.          parameters
  43.      NMPSDMP     Windows NT-based console named pipe dump device 
  44.          sample
  45.      SQLCURS     Using cursor functions
  46.      SQLEXAMP    Command-line interpreter
  47.      SQLTESTC    Windows NT-based console sample 
  48.      SQLTESTN    Windows NT-based GUI sample
  49.      TEXTCOPY    Windows NT-based console text and image sample, 
  50.          also uses GETOPT.*
  51.      TWOPHASE    Two-phase commit example
  52.  
  53.      DATAFILE    Data file used by the EXAMPLE2 and EXAMPLE 6 
  54.          programs.
  55.  
  56. Each project on the Intel platform includes Visual C++ 4.0 
  57. workspace files (.MDP). Double-click the workspace file to load 
  58. the workspace and make file into the Developer Studio environment.
  59.  
  60. Each project also contains cross-platform native Visual C++ 4.0 make 
  61. files (.MAK). For each 32-bit project the .MAK file contains Intel, 
  62. Alpha, MIPS, and PowerPC build information. When the project is 
  63. loaded into Developer Studio, pick the appropriate target, for 
  64. example "Example1 - Win32 (ALPHA) Debug", and build it.
  65.  
  66. You can also build from the command line. BUILDALL.BAT, a file that 
  67. will build all of the 32-bit PTK samples, is in the samples directory. 
  68. Use the following syntax: 
  69.  
  70. BUILDALL ({intel | alpha | mips | powerpc} {debug | release} {force})
  71.  
  72. To use these samples with Visual C++ 4.0, you need to ensure that 
  73. your Library and Include directory settings point to your own 
  74. directories. To do this using Developer Studio, from the Tools menu, 
  75. choose Options, then click the Directories tab. From the "Show 
  76. directories for" box, choose Include files and Library files, and 
  77. ensure that these directories (as appropriate) are included:
  78.  
  79.     Include files:            Library files:
  80.     C:\MSSQL\DBLIB\INCLUDE        C:\MSSQL\DBLIB\LIB
  81.     C:\MSSQL\MSDTC\INCLUDE        C:\MSSQL\MSDTC\LIB
  82.     C:\MSSQL\ODBC\INCLUDE        C:\MSSQL\ODS\LIB
  83.     C:\MSSQL\ODS\INCLUDE
  84.     C:\MSSQL\SQLOLE\INCLUDE
  85.  
  86. ****************************************************************
  87. DB-LIBRARY FOR C SAMPLE 16-BIT APPLICATIONS
  88.  
  89. 16-bit Windows project directories are located in the following path:
  90.  
  91.     C:\MSSQL\SAMPLES\DBLIB\C\WIN16
  92.  
  93.     SQLTEST3      Windows-based sample
  94.     SQLCURSW      Windows-based cursor sample
  95.  
  96.     SQLTEST.ICO   Icon used by both Windows-based samples
  97.  
  98. The MS-DOS project directory is located in the following path:
  99.  
  100.     C:\MSSQL\SAMPLES\DBLIB\C\MSDOS
  101.  
  102.     SQLTESTR      MS-DOS-based sample
  103.  
  104. Visual C++ 1.5x batch and make files are included to build all of 
  105. these cross-platform samples on a given platform. Use "?" to display 
  106. options:
  107.  
  108.     BUILDR.BAT    Builds the examples for MS-DOS
  109.     BUILDR.MAK
  110.     BUILDBOR.BAT  Builds the examples for MS-DOS using Borland C
  111.     BUILDBOR.MAK
  112.  
  113.  
  114.  
  115.