I am trying to execute the sample 'hello.cpp' program in visual cpp 2010 express. I included the required headers for running boinc functions like boinc_init()..... while building the project, it gives


warnings:
c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(3): warning C4627: '#include <boinc_api.h>': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header

errors:
1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(29): error C3861: 'boinc_init': identifier not found
1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(41): error C3861: 'boinc_resolve_filename': identifier not found
1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(44): error C3861: 'boinc_finish': identifier not found
1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(76): error C3861: 'boinc_finish': identifier not found
1>c:\users\krishna mohan\documents\visual studio 2010\projects\as\as\as.cpp(112): error C2440: '=' : cannot convert from 'LPWSTR' to 'LPSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



How can i solve this errors.....

Please help me..... i need to know it very urgently.....