Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
18 KiB

  1. {\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}
  2. {\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;}{\f14\fnil\fcharset2\fprq2{\*\panose 05000000000000000000}Wingdings;}
  3. {\f28\fswiss\fcharset0\fprq2{\*\panose 020b0506020202030204}Arial Narrow;}{\f29\fmodern\fcharset0\fprq1{\*\panose 020b0509030504030204}Lucida Sans Typewriter{\*\falt Lucida Console};}{\f64\froman\fcharset238\fprq2 Times New Roman CE;}
  4. {\f65\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f67\froman\fcharset161\fprq2 Times New Roman Greek;}{\f68\froman\fcharset162\fprq2 Times New Roman Tur;}{\f69\froman\fcharset177\fprq2 Times New Roman (Hebrew);}
  5. {\f70\froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f71\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f72\fswiss\fcharset238\fprq2 Arial CE;}{\f73\fswiss\fcharset204\fprq2 Arial Cyr;}{\f75\fswiss\fcharset161\fprq2 Arial Greek;}
  6. {\f76\fswiss\fcharset162\fprq2 Arial Tur;}{\f77\fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f78\fswiss\fcharset178\fprq2 Arial (Arabic);}{\f79\fswiss\fcharset186\fprq2 Arial Baltic;}{\f80\fmodern\fcharset238\fprq1 Courier New CE;}
  7. {\f81\fmodern\fcharset204\fprq1 Courier New Cyr;}{\f83\fmodern\fcharset161\fprq1 Courier New Greek;}{\f84\fmodern\fcharset162\fprq1 Courier New Tur;}{\f85\fmodern\fcharset177\fprq1 Courier New (Hebrew);}
  8. {\f86\fmodern\fcharset178\fprq1 Courier New (Arabic);}{\f87\fmodern\fcharset186\fprq1 Courier New Baltic;}{\f288\fswiss\fcharset238\fprq2 Arial Narrow CE;}{\f289\fswiss\fcharset204\fprq2 Arial Narrow Cyr;}
  9. {\f291\fswiss\fcharset161\fprq2 Arial Narrow Greek;}{\f292\fswiss\fcharset162\fprq2 Arial Narrow Tur;}{\f295\fswiss\fcharset186\fprq2 Arial Narrow Baltic;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;
  10. \red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;
  11. \red192\green192\blue192;}{\stylesheet{\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{
  12. \s1\ql \li0\ri0\sb240\sa60\keepn\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \b\f1\fs32\lang1033\langfe1033\kerning32\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 heading 1;}{\s2\ql \li-1800\ri0\sb140\sa60\sl-380\slmult0
  13. \keepn\widctlpar\nooverflow\faroman\outlinelevel0\rin0\lin-1800\itap0 \b\f28\fs34\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon1 \snext0 heading 2;}{
  14. \s4\ql \li0\ri0\sb240\sa60\keepn\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \b\fs28\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 heading 4;}{
  15. \s5\ql \li0\ri0\sb240\sa60\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \b\i\fs26\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 heading 5;}{\*\cs10 \additive Default Paragraph Font;}{\s15\ql \li560\ri0\sl-220\slmult0
  16. \widctlpar\tx950\tx1340\tx1730\tx2120\tx2510\tx2900\tx3290\tx3680\tx4070\tx4460\tx4850\tx5240\tx5630\tx6020\tx6410\tx6800\nooverflow\faroman\rin0\lin560\itap0 \f29\fs16\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext15 Exl2;}{
  17. \s16\ql \fi-280\li280\ri0\sa80\sl-240\slmult0\widctlpar\tx280\nooverflow\faroman\rin0\lin280\itap0 \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext16 Lb1;}{\s17\ql \fi-440\li280\ri0\sa80\sl-240\slmult0\widctlpar
  18. \tqr\tx160\tx280\nooverflow\faroman\rin0\lin280\itap0 \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext17 Ln1;}{\s18\ql \li280\ri0\sa80\sl-240\slmult0\widctlpar\tqr\tx160\tx280\nooverflow\faroman\rin0\lin280\itap0
  19. \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon17 \snext18 Lp1;}{\s19\qr \li0\ri0\sl-160\slmult0\widctlpar\nooverflow\faroman\rin0\lin0\itap0 \fs12\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 Le;}{
  20. \s20\ql \fi-360\li0\ri0\sb80\sa80\sl-240\slmult0\keepn\widctlpar\tx280\nooverflow\faroman\rin0\lin0\itap0 \b\fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext17 Proch;}{\s21\ql \li0\ri0\sa80\sl-240\slmult0
  21. \keepn\widctlpar\nooverflow\faroman\rin0\lin0\itap0 \v\f28\fs24\cf5\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext0 index;}{\s22\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0
  22. \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext22 Body Text;}}{\*\listtable{\list\listtemplateid-889716058\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0
  23. {\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\chbrdr\brdrnone\brdrcf1 \chshdng0\chcfpat1\chcbpat1\fbias0 \fi-360\li720\jclisttab\tx720 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360
  24. \levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\chbrdr\brdrnone\brdrcf1 \chshdng0\chcfpat1\chcbpat1\fbias0 \fi-360\li1440\jclisttab\tx1440 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1
  25. \levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f14\chbrdr\brdrnone\brdrcf1 \chshdng0\chcfpat1\chcbpat1\fbias0 \fi-360\li2160\jclisttab\tx2160 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0
  26. \levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\chbrdr\brdrnone\brdrcf1 \chshdng0\chcfpat1\chcbpat1\fbias0 \fi-360\li2880\jclisttab\tx2880 }{\listlevel\levelnfc23\levelnfcn23
  27. \leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\chbrdr\brdrnone\brdrcf1 \chshdng0\chcfpat1\chcbpat1\fbias0 \fi-360\li3600\jclisttab\tx3600 }{\listlevel\levelnfc23
  28. \levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f14\chbrdr\brdrnone\brdrcf1 \chshdng0\chcfpat1\chcbpat1\fbias0 \fi-360\li4320\jclisttab\tx4320 }
  29. {\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698689\'01\u-3913 ?;}{\levelnumbers;}\f3\chbrdr\brdrnone\brdrcf1 \chshdng0\chcfpat1\chcbpat1\fbias0 \fi-360\li5040
  30. \jclisttab\tx5040 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698691\'01o;}{\levelnumbers;}\f2\chbrdr\brdrnone\brdrcf1 \chshdng0\chcfpat1\chcbpat1\fbias0
  31. \fi-360\li5760\jclisttab\tx5760 }{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\leveltext\leveltemplateid67698693\'01\u-3929 ?;}{\levelnumbers;}\f14\chbrdr\brdrnone\brdrcf1
  32. \chshdng0\chcfpat1\chcbpat1\fbias0 \fi-360\li6480\jclisttab\tx6480 }{\listname ;}\listid1372460348}{\list\listtemplateid-2090595180\listsimple{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat6\levelold\levelspace0
  33. \levelindent360{\leveltext\'03\'00. ;}{\levelnumbers\'01;}\b0\i0\f0\fs21\ulnone\chbrdr\brdrnone\brdrcf1 \chshdng0\chcfpat1\chcbpat1\fbias0 \fi-360\li365 }{\listname ;}\listid2138140817}}{\*\listoverridetable{\listoverride\listid2138140817
  34. \listoverridecount0\ls1}{\listoverride\listid1372460348\listoverridecount0\ls2}}{\info{\title Building the Samples}{\author RADHAKOT}{\operator RADHAKOT}{\creatim\yr1999\mo12\dy6\hr16\min42}{\revtim\yr2000\mo1\dy10\hr14\min6}{\version17}{\edmins16}
  35. {\nofpages2}{\nofwords671}{\nofchars3827}{\*\company Microsoft Corporation}{\nofcharsws4699}{\vern8247}}\widowctrl\ftnbj\aenddoc\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\hyphcaps0\formshade\horzdoc\dgmargin\dghspace180\dgvspace180
  36. \dghorigin1701\dgvorigin1984\dghshow1\dgvshow1\jexpand\viewkind4\viewscale100\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule \fet0\sectd
  37. \linex0\endnhere\sectlinegrid360\sectdefaultcl {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl4
  38. \pnlcltr\pnstart1\pnindent720\pnhang{\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}
  39. {\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}\pard\plain \s2\ql \li-1800\ri0\sb140\sa60\sl-380\slmult0
  40. \keepn\widctlpar\nooverflow\faroman\outlinelevel1\rin0\lin-1800\itap0 \b\f28\fs34\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {Building the C++ Samples
  41. \par }\pard\plain \s22\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {The MMC C++ sample snap-ins are installed as part of the Microsoft\'ae
  42. Platform SDK. Currently this location has a path similar to the following. Here, it is assumed that D: is the Platform SDK installation drive:
  43. \par }\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {
  44. \par }\pard\plain \s15\ql \li560\ri0\sl-220\slmult0\widctlpar\tx950\tx1340\tx1730\tx2120\tx2510\tx2900\tx3290\tx3680\tx4070\tx4460\tx4850\tx5240\tx5630\tx6020\tx6410\tx6800\nooverflow\faroman\rin0\lin560\itap0
  45. \f29\fs16\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {D:\\Platform SDK\\Samples\\SysMgmt\\MMC\\
  46. \par }\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\fs21
  47. \par To build any of the MMC C++ sample snap-ins, the following environment is required:
  48. \par
  49. \par {\listtext\pard\plain\s16 \f3\fs21 \loch\af3\dbch\af0\hich\f3 \'b7\tab}}\pard\plain \s16\ql \fi-360\li720\ri0\sa80\sl-240\slmult0\widctlpar\tx280\jclisttab\tx720\nooverflow\faroman\ls2\rin0\lin720\itap0
  50. \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {Microsoft Windows 2000, Windows NT 4.0, or Windows 98 operating system
  51. \par {\listtext\pard\plain\s16 \f3\fs21 \loch\af3\dbch\af0\hich\f3 \'b7\tab}Microsoft Visual C++ 6.0; or properly installed C++ compiler, linker, and resource compiler that are compatible with Microsoft Visual C++ 6.0
  52. \par {\listtext\pard\plain\s16 \f3\fs21 \loch\af3\dbch\af0\hich\f3 \'b7\tab}Microsoft Windows 2000 RC1 or later version of the Microsoft Platform SDK
  53. \par }\pard\plain \s19\qr \li0\ri0\sl-160\slmult0\widctlpar\nooverflow\faroman\rin0\lin0\itap0 \fs12\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\fs21
  54. \par }\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\fs21
  55. It is usually wise to install the Platform SDK last. The Platform SDK provides .h (include) files and .lib (library) files needed for MMC and COM functionality coded in the samples.
  56. \par
  57. \par The MMC C++ sample sn
  58. ap-ins assume an environment with the Platform SDK properly installed. However, releases of Microsoft Visual C++ after version 6.0 may also provide the Mmc.h include file and Mmc.lib library file needed for compilation. In such cases, installation of the
  59. Platform SDK may not be required to compile the samples.
  60. \par
  61. \par Each sample directory has the necessary source files to build and run the sample. For convenient use in Microsoft Visual Studio, a project file is provided for each sample. This file has the .dsp ex
  62. tension. A Samples.dsw workspace file is also provided in the main directory so that you can view and compile all the samples at once from within Visual Studio.}{
  63. \par }\pard\plain \s5\ql \li0\ri0\sb240\sa60\widctlpar\aspalpha\aspnum\faauto\outlinelevel4\adjustright\rin0\lin0\itap0 \b\i\fs26\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {To load the appropriate project for a sample from a command prompt
  64. \par }\pard\plain \s17\ql \fi-440\li280\ri0\sa80\sl-240\slmult0\widctlpar\tqr\tx160\tx280\nooverflow\faroman\rin0\lin280\itap0 \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\tab 1.\tab Make sure that the direc
  65. tory containing the Msdev.exe executable file of your Visual Studio installation is in your system\rquote s path.
  66. \par \tab 2.\tab Run Visual Studio at the command prompt in the sample\rquote s directory as follows:
  67. \par }\pard\plain \s15\ql \li560\ri0\sl-220\slmult0\widctlpar\tx950\tx1340\tx1730\tx2120\tx2510\tx2900\tx3290\tx3680\tx4070\tx4460\tx4850\tx5240\tx5630\tx6020\tx6410\tx6800\nooverflow\faroman\rin0\lin560\itap0
  68. \f29\fs16\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {MSDEV <MYSAMPLE>.DSP
  69. \par }\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {
  70. \par }{\fs21 You can also simply double-click the .dsp file in Windows Explorer to load a sample\rquote
  71. s workspace into Visual Studio. From within Visual Studio you can then browse the C++ classes of the sample source and generally perform the other edit-compile-debug operations.
  72. \par
  73. \par Note that, as part of the Platform SDK, the compilation of these samples from within Visual Studio requires the proper setting of directory paths in Visual Studio.
  74. \par }\pard\plain \s5\ql \li0\ri0\sb240\sa60\widctlpar\aspalpha\aspnum\faauto\outlinelevel4\adjustright\rin0\lin0\itap0 \b\i\fs26\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\i0 To }{set the directory paths (assuming Visual Studio 6.0)
  75. \par }\pard\plain \s17\ql \fi-440\li280\ri0\sa80\sl-240\slmult0\widctlpar\tqr\tx160\tx280\nooverflow\faroman\rin0\lin280\itap0 \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\tab 1.\tab Run Microsoft Visual Studio (Visual C++).
  76. \par \tab 2.\tab On the }{\b Tools}{ menu, click }{\b Options}{.
  77. \par \tab 3.\tab In the }{\b Options}{ dialog box, click the }{\b Directories}{ tab.
  78. \par \tab 4.\tab In the }{\b Show Directories For}{ drop-down list box, select \'93Executable files\'94 and enter the Bin directory path for your installed Platform SDK (for example, D:\\Platform SDK\\
  79. Bin). Click the up arrow button to move this newly entered path so that it is the first entry in the \'93Directories\'94 list.
  80. \par \tab 5.\tab In the }{\b Show Directories For}{ drop-down list box, select \'93Include files\'94 and enter the INCLUDE directory path for your installed Platform SDK (for example, D:\\Platform SDK\\
  81. Include). Click the up arrow button to move this newly entered path so that it is the first entry in the \'93Directories\'94 list.
  82. \par }\pard\plain \s18\ql \li280\ri0\sa80\sl-240\slmult0\widctlpar\tqr\tx160\tx280\nooverflow\faroman\rin0\lin280\itap0 \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {Follow the same procedure for adding the INCLUDE\\Win64\\mfc and INCLUDE\\Win64\\
  83. crt directory paths to the list of include files. These paths can follow the INCLUDE directory path in the list. Note that INCLUDE refers to the directory path for your installed Platform SDK.
  84. \par }\pard\plain \s17\ql \fi-440\li280\ri0\sa80\sl-240\slmult0\widctlpar\tqr\tx160\tx280\nooverflow\faroman\rin0\lin280\itap0 \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\tab 6.\tab In the }{\b Show Directories For}{ drop-down list box, select
  85. \'93Library files\'94 and enter the Lib directory path for your installed Platform SDK (for example, D:\\Platform SDK\\Lib). Click the up arrow button to move this newly entered path so that it is the first entry in the \'93Directories\'94 list.
  86. \par \tab 7.\tab In the }{\b Options}{ dialog box, click }{\b OK}{ to complete the settings.
  87. \par }\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {
  88. \par }{\fs21 From there you can use the editor, debugger, and project facilities to edit, compile, link, and debug.
  89. \par }\pard\plain \s2\ql \li-1800\ri0\sb140\sa60\sl-380\slmult0\keepn\widctlpar\nooverflow\faroman\outlinelevel1\rin0\lin-1800\itap0 \b\f28\fs34\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {Building ANSI or Unicode Versions of the C++ Samples
  90. \par }\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\fs21 All of the MMC C++ samples can be built in both ANSI and Unicode envi
  91. ronments. When building a Unicode version of a sample, you should ensure that the proper preprocessor settings are entered in the project settings of the sample\rquote s .dsp project file.
  92. \par }\pard\plain \s5\ql \li0\ri0\sb240\sa60\widctlpar\aspalpha\aspnum\faauto\outlinelevel4\adjustright\rin0\lin0\itap0 \b\i\fs26\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {To build a Unicode version of a sample
  93. \par }\pard\plain \s17\ql \fi-440\li280\ri0\sa80\sl-240\slmult0\widctlpar\tqr\tx160\tx280\nooverflow\faroman\rin0\lin280\itap0 \fs21\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\tab 1.\tab Load the sample\rquote s .dsp project
  94. file in Microsoft Visual Studio (Visual C++).
  95. \par \tab 2.\tab On the }{\b Tools}{ menu, click }{\b Project}{.
  96. \par \tab 3.\tab In the }{\b Settings For}{ drop-down list box, select \'93Win32 Release\'94 for a release build or \'93Win32 Debug\'94 for a debug build.
  97. \par \tab 4.\tab In the }{\b Project Settings}{ dialog box, click the }{\b C/C++}{ tab.
  98. \par \tab 5.\tab In the }{\b Preprocessor definitions}{ field, make sure that the UNICODE and _UNICODE definitions are included. If not, add them.
  99. \par {\pntext\pard\plain\s17 \fs21 \hich\af0\dbch\af0\loch\f0 6. \tab}}\pard \s17\ql \fi-360\li365\ri0\sa80\sl-240\slmult0\widctlpar\tqr\tx160\tx280{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec\pnb0\pni0\pnfs21\pnstart6\pnindent360\pnhang{\pntxta . }}
  100. \nooverflow\faroman\ls1\rin0\lin365\itap0 {In the }{\b Project Settings}{ dialog box, click }{\b OK}{ to complete the settings.
  101. \par }\pard\plain \s19\qr \li0\ri0\sl-160\slmult0\widctlpar\nooverflow\faroman\rin0\lin0\itap0 \fs12\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {
  102. \par }\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\fs21
  103. \par }}