├── vc12 ├── client │ ├── client.vcxproj.filters │ └── client.vcxproj ├── server │ ├── server.vcxproj.filters │ └── server.vcxproj └── win32-named-pipe-example.sln ├── LICENSE ├── src ├── client.cpp └── server.cpp ├── README.md └── .gitignore /vc12/client/client.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /vc12/server/server.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Peter R. Bloomfield 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /vc12/win32-named-pipe-example.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.23107.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "client", "client\Client.vcxproj", "{AC0D8EC8-7719-482A-A313-291429750D8A}" 7 | EndProject 8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "server", "server\server.vcxproj", "{10415EA7-1CD6-47F1-BCD1-4BA59ABD6520}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|x64 = Debug|x64 13 | Debug|x86 = Debug|x86 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {AC0D8EC8-7719-482A-A313-291429750D8A}.Debug|x64.ActiveCfg = Debug|x64 19 | {AC0D8EC8-7719-482A-A313-291429750D8A}.Debug|x64.Build.0 = Debug|x64 20 | {AC0D8EC8-7719-482A-A313-291429750D8A}.Debug|x86.ActiveCfg = Debug|Win32 21 | {AC0D8EC8-7719-482A-A313-291429750D8A}.Debug|x86.Build.0 = Debug|Win32 22 | {AC0D8EC8-7719-482A-A313-291429750D8A}.Release|x64.ActiveCfg = Release|x64 23 | {AC0D8EC8-7719-482A-A313-291429750D8A}.Release|x64.Build.0 = Release|x64 24 | {AC0D8EC8-7719-482A-A313-291429750D8A}.Release|x86.ActiveCfg = Release|Win32 25 | {AC0D8EC8-7719-482A-A313-291429750D8A}.Release|x86.Build.0 = Release|Win32 26 | {10415EA7-1CD6-47F1-BCD1-4BA59ABD6520}.Debug|x64.ActiveCfg = Debug|x64 27 | {10415EA7-1CD6-47F1-BCD1-4BA59ABD6520}.Debug|x64.Build.0 = Debug|x64 28 | {10415EA7-1CD6-47F1-BCD1-4BA59ABD6520}.Debug|x86.ActiveCfg = Debug|Win32 29 | {10415EA7-1CD6-47F1-BCD1-4BA59ABD6520}.Debug|x86.Build.0 = Debug|Win32 30 | {10415EA7-1CD6-47F1-BCD1-4BA59ABD6520}.Release|x64.ActiveCfg = Release|x64 31 | {10415EA7-1CD6-47F1-BCD1-4BA59ABD6520}.Release|x64.Build.0 = Release|x64 32 | {10415EA7-1CD6-47F1-BCD1-4BA59ABD6520}.Release|x86.ActiveCfg = Release|Win32 33 | {10415EA7-1CD6-47F1-BCD1-4BA59ABD6520}.Release|x86.Build.0 = Release|Win32 34 | EndGlobalSection 35 | GlobalSection(SolutionProperties) = preSolution 36 | HideSolutionNode = FALSE 37 | EndGlobalSection 38 | EndGlobal 39 | -------------------------------------------------------------------------------- /src/client.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Client Program for Win32 Named Pipes Example. 3 | Copyright (C) 2012 Peter R. Bloomfield. 4 | 5 | For an exaplanation of the code, see the associated blog post: 6 | http://avidinsight.uk/2012/03/introduction-to-win32-named-pipes-cpp/ 7 | 8 | This code is made freely available under the MIT open source license 9 | (see accompanying LICENSE file for details). 10 | It is intended only for educational purposes. and is provide as-is with no 11 | guarantee about its reliability, correctness, or suitability for any purpose. 12 | 13 | 14 | INSTRUCTIONS: 15 | 16 | Run the accompanying server program first. 17 | Before closing it, run this client program. 18 | */ 19 | 20 | #include 21 | #include 22 | using namespace std; 23 | 24 | int main(int argc, const char **argv) 25 | { 26 | wcout << "Connecting to pipe..." << endl; 27 | 28 | // Open the named pipe 29 | // Most of these parameters aren't very relevant for pipes. 30 | HANDLE pipe = CreateFile( 31 | L"\\\\.\\pipe\\my_pipe", 32 | GENERIC_READ, // only need read access 33 | FILE_SHARE_READ | FILE_SHARE_WRITE, 34 | NULL, 35 | OPEN_EXISTING, 36 | FILE_ATTRIBUTE_NORMAL, 37 | NULL 38 | ); 39 | 40 | if (pipe == INVALID_HANDLE_VALUE) { 41 | wcout << "Failed to connect to pipe." << endl; 42 | // look up error code here using GetLastError() 43 | system("pause"); 44 | return 1; 45 | } 46 | 47 | wcout << "Reading data from pipe..." << endl; 48 | 49 | // The read operation will block until there is data to read 50 | wchar_t buffer[128]; 51 | DWORD numBytesRead = 0; 52 | BOOL result = ReadFile( 53 | pipe, 54 | buffer, // the data from the pipe will be put here 55 | 127 * sizeof(wchar_t), // number of bytes allocated 56 | &numBytesRead, // this will store number of bytes actually read 57 | NULL // not using overlapped IO 58 | ); 59 | 60 | if (result) { 61 | buffer[numBytesRead / sizeof(wchar_t)] = '\0'; // null terminate the string 62 | wcout << "Number of bytes read: " << numBytesRead << endl; 63 | wcout << "Message: " << buffer << endl; 64 | } else { 65 | wcout << "Failed to read data from the pipe." << endl; 66 | } 67 | 68 | // Close our pipe handle 69 | CloseHandle(pipe); 70 | 71 | wcout << "Done." << endl; 72 | 73 | system("pause"); 74 | return 0; 75 | } 76 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # win32-named-pipes-example 2 | Simple example code for working with named pipes in C++ using the Win32 API. 3 | 4 | For a full explanation see the accompanying blog post here: 5 | 6 | * http://avidinsight.uk/2012/03/introduction-to-win32-named-pipes-cpp/ 7 | 8 | 9 | ## Author 10 | [Peter R. Bloomfield](http://peter.avidinsight.uk). 11 | 12 | 13 | ## License 14 | The code is made freely available under the MIT open source license (see accompanying LICENSE file for details). 15 | It is intended only for educational purposes. and is provide as-is with no guarantee about its reliability, correctness, or suitability for any purpose. 16 | 17 | 18 | ## Server and client 19 | There is example code for two programs, named "server" and "client". 20 | 21 | The server program will open a named pipe, wait for something else to connect to it, and then send some data over it. 22 | The client program will look for a named pipe, connect to it, and then wait to receive some data through it. 23 | 24 | The code for each of these programs can be found in `src/server.cpp` and `src/client.cpp` respectively. 25 | 26 | 27 | ## Building the programs 28 | ### Visual Studio 2015 29 | Solution/project files are included for VC12 (Visual Studio 2015). The Community edition is excellent and is free for individuals and small teams. You can download it from here: 30 | 31 | * https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx 32 | 33 | In the `vc12` folder in the repository, you will find a solution file called `win32-named-pipe-example.sln`. Open it in Visual Studio. Open the "Build" menu and click "Build Solution". Both programs should be compiled and linked. 34 | 35 | The resulting executables will be put in `vc12/Debug` or `vc12/Release`, depending on which configuration you built. 36 | 37 | 38 | ## Running the example programs 39 | After building both programs, first run the server program. It will open a console window and you should see it report that it has opened a pipe and is waiting for a connection. 40 | Leave the server window open and run the client program. It will open a console window as well. It should indicate that it has connected to the pipe and received some data. 41 | Go back to the server window and you should see it report that it has sent data. 42 | 43 | Note: If you are working with Visual Studio, I recommend running the programs outside the IDE; i.e. in Explorer, navigate to `vc12/Debug` or `vc12/Release` and double-click the executables. This is because it's tricky to run two different programs from within a single Visual Studio solution (I'm sure there's a way to do it -- I just haven't found it!). 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /src/server.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Server Program for Win32 Named Pipes Example. 3 | Copyright (C) 2012 Peter R. Bloomfield. 4 | 5 | For an exaplanation of the code, see the associated blog post: 6 | http://avidinsight.uk/2012/03/introduction-to-win32-named-pipes-cpp/ 7 | 8 | This code is made freely available under the MIT open source license 9 | (see accompanying LICENSE file for details). 10 | It is intended only for educational purposes. and is provide as-is with no 11 | guarantee about its reliability, correctness, or suitability for any purpose. 12 | 13 | 14 | INSTRUCTIONS: 15 | 16 | Run this server program first. 17 | Before closing it, run the accompanying client program. 18 | */ 19 | 20 | #include 21 | #include 22 | using namespace std; 23 | 24 | int main(int argc, const char **argv) 25 | { 26 | wcout << "Creating an instance of a named pipe..." << endl; 27 | 28 | // Create a pipe to send data 29 | HANDLE pipe = CreateNamedPipe( 30 | L"\\\\.\\pipe\\my_pipe", // name of the pipe 31 | PIPE_ACCESS_OUTBOUND, // 1-way pipe -- send only 32 | PIPE_TYPE_BYTE, // send data as a byte stream 33 | 1, // only allow 1 instance of this pipe 34 | 0, // no outbound buffer 35 | 0, // no inbound buffer 36 | 0, // use default wait time 37 | NULL // use default security attributes 38 | ); 39 | 40 | if (pipe == NULL || pipe == INVALID_HANDLE_VALUE) { 41 | wcout << "Failed to create outbound pipe instance."; 42 | // look up error code here using GetLastError() 43 | system("pause"); 44 | return 1; 45 | } 46 | 47 | wcout << "Waiting for a client to connect to the pipe..." << endl; 48 | 49 | // This call blocks until a client process connects to the pipe 50 | BOOL result = ConnectNamedPipe(pipe, NULL); 51 | if (!result) { 52 | wcout << "Failed to make connection on named pipe." << endl; 53 | // look up error code here using GetLastError() 54 | CloseHandle(pipe); // close the pipe 55 | system("pause"); 56 | return 1; 57 | } 58 | 59 | wcout << "Sending data to pipe..." << endl; 60 | 61 | // This call blocks until a client process reads all the data 62 | const wchar_t *data = L"*** Hello Pipe World ***"; 63 | DWORD numBytesWritten = 0; 64 | result = WriteFile( 65 | pipe, // handle to our outbound pipe 66 | data, // data to send 67 | wcslen(data) * sizeof(wchar_t), // length of data to send (bytes) 68 | &numBytesWritten, // will store actual amount of data sent 69 | NULL // not using overlapped IO 70 | ); 71 | 72 | if (result) { 73 | wcout << "Number of bytes sent: " << numBytesWritten << endl; 74 | } else { 75 | wcout << "Failed to send data." << endl; 76 | // look up error code here using GetLastError() 77 | } 78 | 79 | // Close the pipe (automatically disconnects client too) 80 | CloseHandle(pipe); 81 | 82 | wcout << "Done." << endl; 83 | 84 | system("pause"); 85 | return 0; 86 | } 87 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.userosscache 8 | *.sln.docstates 9 | 10 | # User-specific files (MonoDevelop/Xamarin Studio) 11 | *.userprefs 12 | 13 | # Build results 14 | [Dd]ebug/ 15 | [Dd]ebugPublic/ 16 | [Rr]elease/ 17 | [Rr]eleases/ 18 | x64/ 19 | x86/ 20 | build/ 21 | bld/ 22 | [Bb]in/ 23 | [Oo]bj/ 24 | 25 | # Visual Studo 2015 cache/options directory 26 | .vs/ 27 | 28 | # MSTest test Results 29 | [Tt]est[Rr]esult*/ 30 | [Bb]uild[Ll]og.* 31 | 32 | # NUNIT 33 | *.VisualState.xml 34 | TestResult.xml 35 | 36 | # Build Results of an ATL Project 37 | [Dd]ebugPS/ 38 | [Rr]eleasePS/ 39 | dlldata.c 40 | 41 | *_i.c 42 | *_p.c 43 | *_i.h 44 | *.ilk 45 | *.meta 46 | *.obj 47 | *.pch 48 | *.pdb 49 | *.pgc 50 | *.pgd 51 | *.rsp 52 | *.sbr 53 | *.tlb 54 | *.tli 55 | *.tlh 56 | *.tmp 57 | *.tmp_proj 58 | *.log 59 | *.vspscc 60 | *.vssscc 61 | .builds 62 | *.pidb 63 | *.svclog 64 | *.scc 65 | 66 | # Chutzpah Test files 67 | _Chutzpah* 68 | 69 | # Visual C++ cache files 70 | ipch/ 71 | *.aps 72 | *.ncb 73 | *.opensdf 74 | *.sdf 75 | *.cachefile 76 | 77 | # Visual Studio profiler 78 | *.psess 79 | *.vsp 80 | *.vspx 81 | 82 | # TFS 2012 Local Workspace 83 | $tf/ 84 | 85 | # Guidance Automation Toolkit 86 | *.gpState 87 | 88 | # ReSharper is a .NET coding add-in 89 | _ReSharper*/ 90 | *.[Rr]e[Ss]harper 91 | *.DotSettings.user 92 | 93 | # JustCode is a .NET coding addin-in 94 | .JustCode 95 | 96 | # TeamCity is a build add-in 97 | _TeamCity* 98 | 99 | # DotCover is a Code Coverage Tool 100 | *.dotCover 101 | 102 | # NCrunch 103 | _NCrunch_* 104 | .*crunch*.local.xml 105 | 106 | # MightyMoose 107 | *.mm.* 108 | AutoTest.Net/ 109 | 110 | # Web workbench (sass) 111 | .sass-cache/ 112 | 113 | # Installshield output folder 114 | [Ee]xpress/ 115 | 116 | # DocProject is a documentation generator add-in 117 | DocProject/buildhelp/ 118 | DocProject/Help/*.HxT 119 | DocProject/Help/*.HxC 120 | DocProject/Help/*.hhc 121 | DocProject/Help/*.hhk 122 | DocProject/Help/*.hhp 123 | DocProject/Help/Html2 124 | DocProject/Help/html 125 | 126 | # Click-Once directory 127 | publish/ 128 | 129 | # Publish Web Output 130 | *.[Pp]ublish.xml 131 | *.azurePubxml 132 | # TODO: Comment the next line if you want to checkin your web deploy settings 133 | # but database connection strings (with potential passwords) will be unencrypted 134 | *.pubxml 135 | *.publishproj 136 | 137 | # NuGet Packages 138 | *.nupkg 139 | # The packages folder can be ignored because of Package Restore 140 | **/packages/* 141 | # except build/, which is used as an MSBuild target. 142 | !**/packages/build/ 143 | # Uncomment if necessary however generally it will be regenerated when needed 144 | #!**/packages/repositories.config 145 | 146 | # Windows Azure Build Output 147 | csx/ 148 | *.build.csdef 149 | 150 | # Windows Store app package directory 151 | AppPackages/ 152 | 153 | # Others 154 | *.[Cc]ache 155 | ClientBin/ 156 | [Ss]tyle[Cc]op.* 157 | ~$* 158 | *~ 159 | *.dbmdl 160 | *.dbproj.schemaview 161 | *.pfx 162 | *.publishsettings 163 | node_modules/ 164 | bower_components/ 165 | 166 | # RIA/Silverlight projects 167 | Generated_Code/ 168 | 169 | # Backup & report files from converting an old project file 170 | # to a newer Visual Studio version. Backup files are not needed, 171 | # because we have git ;-) 172 | _UpgradeReport_Files/ 173 | Backup*/ 174 | UpgradeLog*.XML 175 | UpgradeLog*.htm 176 | 177 | # SQL Server files 178 | *.mdf 179 | *.ldf 180 | 181 | # Business Intelligence projects 182 | *.rdl.data 183 | *.bim.layout 184 | *.bim_*.settings 185 | 186 | # Microsoft Fakes 187 | FakesAssemblies/ 188 | 189 | # Node.js Tools for Visual Studio 190 | .ntvs_analysis.dat 191 | 192 | # Visual Studio 6 build log 193 | *.plg 194 | 195 | # Visual Studio 6 workspace options file 196 | *.opt 197 | -------------------------------------------------------------------------------- /vc12/server/server.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {10415EA7-1CD6-47F1-BCD1-4BA59ABD6520} 23 | Win32Proj 24 | server 25 | 8.1 26 | 27 | 28 | 29 | Application 30 | true 31 | v140 32 | Unicode 33 | 34 | 35 | Application 36 | false 37 | v140 38 | true 39 | Unicode 40 | 41 | 42 | Application 43 | true 44 | v140 45 | Unicode 46 | 47 | 48 | Application 49 | false 50 | v140 51 | true 52 | Unicode 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | true 74 | 75 | 76 | true 77 | 78 | 79 | false 80 | 81 | 82 | false 83 | 84 | 85 | 86 | 87 | 88 | Level3 89 | Disabled 90 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 91 | true 92 | 93 | 94 | Console 95 | true 96 | 97 | 98 | 99 | 100 | 101 | 102 | Level3 103 | Disabled 104 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 105 | true 106 | 107 | 108 | Console 109 | true 110 | 111 | 112 | 113 | 114 | Level3 115 | 116 | 117 | MaxSpeed 118 | true 119 | true 120 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 121 | true 122 | 123 | 124 | Console 125 | true 126 | true 127 | true 128 | 129 | 130 | 131 | 132 | Level3 133 | 134 | 135 | MaxSpeed 136 | true 137 | true 138 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 139 | true 140 | 141 | 142 | Console 143 | true 144 | true 145 | true 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /vc12/client/client.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {AC0D8EC8-7719-482A-A313-291429750D8A} 23 | Win32Proj 24 | Client 25 | 8.1 26 | client 27 | 28 | 29 | 30 | Application 31 | true 32 | v140 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v140 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v140 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v140 52 | true 53 | Unicode 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | true 78 | 79 | 80 | false 81 | 82 | 83 | false 84 | 85 | 86 | 87 | 88 | 89 | Level3 90 | Disabled 91 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 92 | true 93 | 94 | 95 | Console 96 | true 97 | 98 | 99 | 100 | 101 | 102 | 103 | Level3 104 | Disabled 105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 106 | true 107 | 108 | 109 | Console 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | 117 | 118 | MaxSpeed 119 | true 120 | true 121 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 122 | true 123 | 124 | 125 | Console 126 | true 127 | true 128 | true 129 | 130 | 131 | 132 | 133 | Level3 134 | 135 | 136 | MaxSpeed 137 | true 138 | true 139 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 140 | true 141 | 142 | 143 | Console 144 | true 145 | true 146 | true 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | --------------------------------------------------------------------------------