ok so i've come to the conclusion that it's my Engine Project that is causing the problem because when i build it, i get some warnings concerning D3D10.lib.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(C:\Users\Sarim\Documents\Visual Studio 2010\Projects\DarkMatter\DarkMatter\.\Lib\DarkMatter.lib) does not match the Library's OutputFile property value (C:\Users\Sarim\Documents\Visual Studio 2010\Projects\DarkMatter\DarkMatter\DarkMatter.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
1>d3d10.lib(d3d10.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in d3dx10d.lib(d3dx10d_43.dll); second definition ignored
1>d3d10.lib(d3d10.dll) : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
1> DarkMatter.vcxproj -> C:\Users\Sarim\Documents\Visual Studio 2010\Projects\DarkMatter\DarkMatter\.\Lib\DarkMatter.lib
On MSDN it says "To prevent this error, do not link a .obj with no public symbols into a library"...and i have no idea what that means. Does anyone know how to fix this warning? I think it's the main reason why i can't use it in my demo program.