That is wrong anyway. Are you using VC++ 2005 compiler ? If so, then to add a library to the project press Alt + F7 keys and the Property Pages dialog box will appear. Expand Configuration Properties, then expand Linker, select the Input category under Linker. Then on the right side of the window add the library in the Additional Dependencies control.