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 / sqldmo / readme.txt < prev   
Encoding:
Text File  |  1996-04-03  |  3.2 KB  |  88 lines

  1. ****************************************************************
  2.          MICROSOFT SQL SERVER WORKSTATION SYSTEM 6.5 
  3.  SQL DISTRIBUTED MANAGEMENT OBJECTS (SQL-DMO) SAMPLE PROGRAMS
  4. ****************************************************************
  5. This file describes the SQL-DMO sample programs included with
  6. Microsoft(R) SQL Server(TM) 6.5 and Microsoft SQL Server 
  7. Workstation System 6.5.
  8.  
  9. For additional information about SQL Server 6.5, SQL Distributed
  10. Management Objects, and ODBC, see the "What's New in SQL Server 6.5,"
  11. "Programming SQL Distributed Management Objects," and "Programming 
  12. ODBC for SQL Server" sections of SQL Server Books Online, which 
  13. contains the most up-to-date information available.
  14.  
  15. ****************************************************************
  16. 32-BIT VISUAL BASIC SAMPLES
  17.  
  18. The following 32-bit Microsoft(R) Visual Basic(R)-based sample 
  19. programs are located in the C:\MSSQL\SAMPLES\SQLDMO\VB directory 
  20. by default:
  21.  
  22. EXPLORE
  23. Sample SQL-DMO object browser using 32-bit Visual Basic. Includes 
  24. the following files:
  25.     EXPLORE.MAK
  26.     EXPLORE.FRM
  27.     EXPLORE.BAS
  28.  
  29. GENERIC
  30. Sample SQL-DMO generic program using 32-bit Visual Basic. Includes 
  31. the following files:
  32.     GENERIC.MAK
  33.     GENERIC.FRM
  34.  
  35. ****************************************************************
  36. 32-BIT VISUAL C++ SAMPLES
  37.  
  38. The following 32-bit C++ sample program is located in the
  39. C:\MSSQL\SAMPLES\SQLDMO\C\CPP directory by default:
  40.  
  41. SOCPP
  42. Sample C++ program using 32-bit Visual C++. Includes the following 
  43. files:
  44.     SOCPP.MAK
  45.     SOCPP.CPP
  46.     SOCPP.MDP
  47.  
  48. The following 32-bit C sample program is located in the
  49. C:\MSSQL\SAMPLES\SQLDMO\C\CPP directory by default:
  50.  
  51. SOC
  52. Sample C program using 32-bit Visual C++. Includes the following 
  53. files:
  54.     SOC.MAK
  55.     SOC.C
  56.     SOC.MDP
  57.  
  58. Each project on the Intel(R) platform includes Visual C++ 4.0 
  59. workspace files (.MDP). Double-click on the workspace file to load 
  60. the workspace and make file into the Developer Studio environment.
  61.  
  62. Each project also contains cross-platform native Visual C++ 4.0 make 
  63. files (.MAK). For each 32-bit project the .MAK file contains Intel, 
  64. Alpha AXP(R), MIPS(R), and PowerPC(TM) build information. When the 
  65. project is loaded into Developer Studio, pick the appropriate target, 
  66. for example "Example1 - Win32 (ALPHA) Debug", and build it.
  67.  
  68. You can also build from the command line. BUILDALL.BAT, a file that 
  69. will build all of the 32-bit PTK samples, is in the samples directory. 
  70. Use the following syntax: 
  71.  
  72. BUILDALL ({intel | alpha | mips | powerpc} {debug | release} {force})
  73.  
  74. To use these samples with Visual C++ 4.0, you need to ensure that 
  75. your Library and Include directory settings point to your own 
  76. directories. To do this using Developer Studio, from the Tools menu, 
  77. choose Options, then click the Directories tab. From the "Show 
  78. directories for" box, choose Include files and Library files, and 
  79. ensure that these directories (as appropriate) are included:
  80.  
  81.     Include files:            Library files:
  82.     C:\MSSQL\DBLIB\INCLUDE        C:\MSSQL\DBLIB\LIB
  83.     C:\MSSQL\MSDTC\INCLUDE        C:\MSSQL\MSDTC\LIB
  84.     C:\MSSQL\ODBD\INCLUDE        C:\MSSQL\ODS\LIB
  85.     C:\MSSQL\ODS\INCLUDE
  86.     C:\MSSQL\SQLOLE\INCLUDE
  87.  
  88.