Should work....

if using MFC ensure you have it as a 'static library' not a 'shared DLL'.

Use PROJECTS->SETTINGS General TAB (top combo box)