I have created a C project in Visual Studio 2005. Whenever I am using any Windows API(CreateFile,CreateProcess,RegOpenKeyEx,etc),they are not working fine,means resulting in error return value.I am not getting any compile error. Are they related to project settings,etc