User`s guide
Setting up a Build Environment on Windows Systems
2-15
d
Add the new source file to your project. From the File menu, select Move
Source1.cpp into and select the name of your project. Accept the default file
name for now; you can always change it later.
2
Open the Property Pages for your project by right-clicking on your project in the
Solution Explorer and choosing Properties, or by selecting Properties from the
Project menu.
3
In the Property Pages dialog box, open C/C++ and select Code Generation. On the
Code Generation page, set the following values.
Field Setting
Enable C++ Exceptions Yes with Extern C functions (/EHs)
Runtime library Multi-threaded DLL (/MD)
Buffer Security Check No (/GS-)