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 / msdtc / readme.txt < prev   
Encoding:
Text File  |  1996-04-03  |  3.0 KB  |  78 lines

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