I don't think it's in project properties. I'm sure this isnt the best way to do it but I converted my old DX project to .NET format and searched for any mention of the libs. The libs to be included are stored in wow.vcproj. If you open it in a text editor like notepad (while the project is closed in VS), you'll be able to see the project settings, here's mine:
You'll see the libraries mentioned twice, once for debug and once for release, under AdditionalDependencies= (the two long lines here), try and copy the relevant pieces into your project file, save, close and open in VS.
Code:
<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.00"
Name="DX"
ProjectGUID="{49845AF9-DE1C-407D-B96F-F097A95CF311}"
SccProjectName=""
SccLocalPath="">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\Debug"
IntermediateDirectory=".\Debug"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,_WIN32_DCOM"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
UsePrecompiledHeader="2"
PrecompiledHeaderFile=".\Debug/DX.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
DebugInformationFormat="4"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="dsound.lib dinput8.lib dxerr8.lib d3dx8dt.lib d3d8.lib d3dxof.lib dxguid.lib winmm.lib odbc32.lib odbccp32.lib"
OutputFile=".\Debug/DX.exe"
LinkIncremental="2"
SuppressStartupBanner="TRUE"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\Debug/DX.pdb"
SubSystem="2"/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="TRUE"
SuppressStartupBanner="TRUE"
TargetEnvironment="1"
TypeLibraryName=".\Debug/DX.tlb"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="2057"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".\Release"
IntermediateDirectory=".\Release"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
InlineFunctionExpansion="1"
PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,_WIN32_DCOM"
StringPooling="TRUE"
RuntimeLibrary="4"
EnableFunctionLevelLinking="TRUE"
UsePrecompiledHeader="2"
PrecompiledHeaderFile=".\Release/DX.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/"
WarningLevel="3"
SuppressStartupBanner="TRUE"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="dsound.lib dinput8.lib dxerr8.lib d3dx8dt.lib d3d8.lib d3dxof.lib dxguid.lib winmm.lib odbc32.lib odbccp32.lib"
OutputFile=".\Release/DX.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
ProgramDatabaseFile=".\Release/DX.pdb"
SubSystem="2"/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="TRUE"
SuppressStartupBanner="TRUE"
TargetEnvironment="1"
TypeLibraryName=".\Release/DX.tlb"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="2057"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
</Configuration>
</Configurations>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
RelativePath=".\DX.cpp">
</File>
<File
RelativePath=".\DX.rc">
</File>
<File
RelativePath=".\d3dapp.cpp">
</File>
<File
RelativePath=".\d3dfile.cpp">
</File>
<File
RelativePath=".\d3dfont.cpp">
</File>
<File
RelativePath=".\d3dutil.cpp">
</File>
<File
RelativePath=".\diutil.cpp">
</File>
<File
RelativePath=".\dmutil.cpp">
</File>
<File
RelativePath=".\dsutil.cpp">
</File>
<File
RelativePath=".\dxutil.cpp">
</File>
<File
RelativePath=".\netconnect.cpp">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl">
<File
RelativePath=".\DX.h">
</File>
<File
RelativePath=".\d3dapp.h">
</File>
<File
RelativePath=".\d3dfile.h">
</File>
<File
RelativePath=".\d3dfont.h">
</File>
<File
RelativePath=".\d3dres.h">
</File>
<File
RelativePath=".\d3dutil.h">
</File>
<File
RelativePath=".\diutil.h">
</File>
<File
RelativePath=".\dmutil.h">
</File>
<File
RelativePath=".\dsutil.h">
</File>
<File
RelativePath=".\dxutil.h">
</File>
<File
RelativePath=".\netconnect.h">
</File>
<File
RelativePath=".\netconnectres.h">
</File>
<File
RelativePath=".\resource.h">
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
<File
RelativePath=".\DirectX.ico">
</File>
<File
RelativePath=".\bounce.wav">
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>