<title>Step 2.1: Creating a new protected application</title>
</head>
<body>
<h1>Step 2.1: Creating a new protected application</h1>
<p>At the first stage we made several simple apps to test the API of the licensing system. Now, on the second stage we'll create just one application. It will also be a console app with the <strong>foo()</strong> function working only in the registered version. Here is the code of our test application:</p>
<p>Compile the program without the debug information, but in the linker settings we enable creating of the MAP-file - we will need it to work with DogProtect. After we run the program, we should see the following text:</p>
<p>Currently, the licensing system still works in the test mode, because the file wasn't processed by DogProtect and doesn't contain a licensing module in it. On the <ahref=
"step22_vmp.htm">next step</a> we will create a DogProtect project and will try to protect our application.</p><br/>