DirectX build error?

Miscellaneous Forums/General Discussion/DirectX build error?

Hi all,

I try to build the empty project (in DirectX Sample browser) with visual C++ .net 2005 express. I set the include directories and lib in "Tools>options"

Here are the error messages...
------ Build started: Project: EmptyProject, Configuration: Debug Win32 ------
Linking...
DXUT.obj : error LNK2019: unresolved external symbol __imp__SystemParametersInfoW@16 referenced in function "long __cdecl DXUTInit(bool,bool,bool,bool)" (?DXUTInit@@YAJ_N000@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__CommandLineToArgvW@8 referenced in function "void __cdecl DXUTParseCommandLine(void)" (?DXUTParseCommandLine@@YAXXZ)
DXUT.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExW@48 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__AdjustWindowRect@12 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__SetRect@20 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z)
DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__SetRect@20
DXUT.obj : error LNK2019: unresolved external symbol __imp__RegisterClassW@4 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetStockObject@4 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__LoadCursorW@8 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__ExtractIconW@12 referenced in function "long __cdecl DXUTCreateWindow(wchar_t const *,struct HINSTANCE__ *,struct HICON__ *,struct HMENU__ *,int,int)" (?DXUTCreateWindow@@YAJPB_WPAUHINSTANCE__@@PAUHICON__@@PAUHMENU__@@HH@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetWindowLongW@8 referenced in function "long __cdecl DXUTSetWindow(struct HWND__ *,struct HWND__ *,struct HWND__ *,bool)" (?DXUTSetWindow@@YAJPAUHWND__@@00_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetWindowTextW@12 referenced in function "long __cdecl DXUTSetWindow(struct HWND__ *,struct HWND__ *,struct HWND__ *,bool)" (?DXUTSetWindow@@YAJPAUHWND__@@00_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__SetWindowLongW@12 referenced in function "long __cdecl DXUTSetWindow(struct HWND__ *,struct HWND__ *,struct HWND__ *,bool)" (?DXUTSetWindow@@YAJPAUHWND__@@00_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__IsWindowVisible@4 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__IsZoomed@4 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetWindowRect@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__GetClientRect@8
DXUT.obj : error LNK2019: unresolved external symbol __imp__IsIconic@4 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__SetWindowPos@28 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__SetWindowPlacement@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetMenu@4 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetWindowPlacement@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__SetMenu@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "long __cdecl DXUTChangeDevice(struct DXUTDeviceSettings *,struct IDirect3DDevice9 *,bool,bool)" (?DXUTChangeDevice@@YAJPAUDXUTDeviceSettings@@PAUIDirect3DDevice9@@_N2@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__CallNextHookEx@16 referenced in function "long __stdcall LowLevelKeyboardProc(int,unsigned int,long)" (?LowLevelKeyboardProc@@YGJHIJ@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__SetWindowsHookExW@16 referenced in function "void __cdecl DXUTAllowShortcutKeys(bool)" (?DXUTAllowShortcutKeys@@YAX_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__UnhookWindowsHookEx@4 referenced in function "void __cdecl DXUTAllowShortcutKeys(bool)" (?DXUTAllowShortcutKeys@@YAX_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__DestroyAcceleratorTable@4 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageW@4 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__TranslateAcceleratorW@12 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__PeekMessageW@20 referenced in function "long __cdecl DXUTMainLoop(struct HACCEL__ *)" (?DXUTMainLoop@@YAJPAUHACCEL__@@@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcW@16 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassW@8 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__DestroyMenu@4 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__SendMessageW@16 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__SendMessageW@16
DXUT.obj : error LNK2019: unresolved external symbol __imp__ClipCursor@4 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__GetCursorPos@4
DXUT.obj : error LNK2019: unresolved external symbol __imp__ScreenToClient@8 referenced in function "long __stdcall DXUTStaticWndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DXUTStaticWndProc@@YGJPAUHWND__@@IIJ@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetAsyncKeyState@4 referenced in function "bool __cdecl DXUTIsKeyDown(unsigned char)" (?DXUTIsKeyDown@@YA_NE@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__MessageBoxW@16 referenced in function "void __cdecl DXUTDisplayErrorMessage(long)" (?DXUTDisplayErrorMessage@@YAXJ@Z)
dxerr.lib(dxerr.obj) : error LNK2001: unresolved external symbol __imp__MessageBoxW@16
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetSystemMetrics@4 referenced in function "void __cdecl DXUTDisplayErrorMessage(long)" (?DXUTDisplayErrorMessage@@YAXJ@Z)
DXUTmisc.obj : error LNK2001: unresolved external symbol __imp__GetSystemMetrics@4
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetClassLongW@8 referenced in function "void __cdecl DXUTSetupCursor(void)" (?DXUTSetupCursor@@YAXXZ)
DXUT.obj : error LNK2019: unresolved external symbol __imp__SetCursor@4 referenced in function "void __cdecl DXUTSetupCursor(void)" (?DXUTSetupCursor@@YAXXZ)
DXUT.obj : error LNK2019: unresolved external symbol __imp__DeleteDC@4 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__ReleaseDC@8 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__DeleteObject@4 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetDIBits@28 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__SelectObject@8 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__CreateCompatibleDC@4 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetDC@4 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetObjectW@12 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z)
DXUT.obj : error LNK2019: unresolved external symbol __imp__GetIconInfo@8 referenced in function "long __cdecl DXUTSetDeviceCursor(struct IDirect3DDevice9 *,struct HICON__ *,bool)" (?DXUTSetDeviceCursor@@YAJPAUIDirect3DDevice9@@PAUHICON__@@_N@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__RegSetValueExW@24 referenced in function "void __cdecl DXUTDisplaySwitchingToREFWarning(void)" (?DXUTDisplaySwitchingToREFWarning@@YAXXZ)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__DialogBoxIndirectParamW@20 referenced in function "void __cdecl DXUTDisplaySwitchingToREFWarning(void)" (?DXUTDisplaySwitchingToREFWarning@@YAXXZ)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function "void __cdecl DXUTDisplaySwitchingToREFWarning(void)" (?DXUTDisplaySwitchingToREFWarning@@YAXXZ)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExW@24 referenced in function "void __cdecl DXUTDisplaySwitchingToREFWarning(void)" (?DXUTDisplaySwitchingToREFWarning@@YAXXZ)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExW@20 referenced in function "void __cdecl DXUTDisplaySwitchingToREFWarning(void)" (?DXUTDisplaySwitchingToREFWarning@@YAXXZ)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__EndDialog@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__EnableWindow@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__CheckDlgButton@12 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__IsDlgButtonChecked@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__SetDlgItemTextW@12 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__GetDlgItem@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__LoadIconW@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__SetWindowTextW@8 referenced in function "int __stdcall DisplaySwitchToREFWarningProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DisplaySwitchToREFWarningProc@@YGHPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__GetForegroundWindow@0 referenced in function "public: __thiscall CD3DArcBall::CD3DArcBall(void)" (??0CD3DArcBall@@QAE@XZ)
dxerr.lib(dxerr.obj) : error LNK2001: unresolved external symbol __imp__GetForegroundWindow@0
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__ReleaseCapture@0 referenced in function "public: long __thiscall CD3DArcBall::HandleMessages(struct HWND__ *,unsigned int,unsigned int,long)" (?HandleMessages@CD3DArcBall@@QAEJPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__SetCapture@4 referenced in function "public: long __thiscall CD3DArcBall::HandleMessages(struct HWND__ *,unsigned int,unsigned int,long)" (?HandleMessages@CD3DArcBall@@QAEJPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__PtInRect@12 referenced in function "public: virtual long __thiscall CBaseCamera::HandleMessages(struct HWND__ *,unsigned int,unsigned int,long)" (?HandleMessages@CBaseCamera@@UAEJPAUHWND__@@IIJ@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__SetCursorPos@8 referenced in function "protected: void __thiscall CBaseCamera::GetInput(bool,bool,bool,bool)" (?GetInput@CBaseCamera@@IAEX_N000@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__SystemParametersInfoA@16 referenced in function "int __cdecl DXUTGetMonitorInfo(struct HMONITOR__ *,struct tagMONITORINFO *)" (?DXUTGetMonitorInfo@@YAHPAUHMONITOR__@@PAUtagMONITORINFO@@@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__EnumDisplaySettingsW@12 referenced in function "void __cdecl DXUTGetDesktopResolution(unsigned int,unsigned int *,unsigned int *)" (?DXUTGetDesktopResolution@@YAXIPAI0@Z)
DXUTmisc.obj : error LNK2019: unresolved external symbol __imp__ShellExecuteW@24 referenced in function "bool __cdecl DXUTReLaunchMediaCenter(void)" (?DXUTReLaunchMediaCenter@@YA_NXZ)
dxerr.lib(dxerr.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function _DXTraceA@20
Debug\EmptyProject.exe : fatal error LNK1120: 76 unresolved externals
Build log was saved at "file://c:\0DIRECTX\EmptyProject\Debug\BuildLog.htm"
EmptyProject - 84 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


(DirectX SDK - April 2007)
(Microsoft Platform SDK for Windows Server 2003 R2)

Any idea?
:(

Thanks in advance.

did u tell the compiler to link the needed libraries, it looks like u forget to link the "user32" library.

Hi Clarks,

I seldomly use vc++ .net express 2005.
Could you tell me where to link "user32" library?

Thanks in advance.

i dont use vc++ .net myself, but u can check your project options, and look for the option that allows you to link libraries. the library should be in the library directory in vc++ installation directory.

To set link libraries for VC++ .net express 2005:

We need to edit the "corewin_express.vsprops" file (found in "<programs Path>\Microsoft Visual Studio 8\VC\VCProjectDefaults") and change the string that reads:

AdditionalDependencies="kernel32.lib"
to
AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"

Thank you for attention.

well there u go, happing coding