Code from book do not working. Error LNK2019

Hi!
First of all, sry for my bad language, ill try to explain my problem most simple, for best communicating.
I cudnt solve this problem about 4 hours, trying to google, forums and etc. So i realy need some help from Pros.
My story is simple and short: i wanted to learn DX11, i got MSVS C++ 2010 Express (Russian language), DX SDK 10 June and book "Beginning DirectXR11 Game Programming". My OS is Win 7 x64, video is GTS 450, proc. Core i5.
So... i typed from the book this example:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <Windows.h>
LRESULT CALLBACK WndProc( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE prevInstance,LPWSTR cmdLine, int cmdShow )
{
UNREFERENCED_PARAMETER( prevInstance );
UNREFERENCED_PARAMETER( cmdLine );
WNDCLASSEX wndClass = { 0 };
wndClass.cbSize = sizeof( WNDCLASSEX ) ;
wndClass.style = CS_HREDRAW | CS_VREDRAW;
wndClass.lpfnWndProc = WndProc;
wndClass.hInstance = hInstance;
wndClass.hCursor = LoadCursor( NULL, IDC_ARROW );
wndClass.hbrBackground = ( HBRUSH )( COLOR_WINDOW + 1 );
wndClass.lpszMenuName = NULL;
wndClass.lpszClassName = L"DX11BookWindowClass";
if( !RegisterClassEx( &wndClass ) )
return -1;
RECT rc = { 0, 0, 640, 480 };
AdjustWindowRect( &rc, WS_OVERLAPPEDWINDOW, FALSE );
HWND hwnd = CreateWindowA( "DX11BookWindowClass", "Blank Win32 Window", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, rc.right - rc.left,
rc.bottom - rc.top, NULL, NULL, hInstance, NULL );
if( !hwnd )
return -1;
ShowWindow( hwnd, cmdShow );
return 0;
}

When i trying to compile, VS writing to me: 1>main.obj : error LNK2019: russian words about pointer to not accepted symbol oO "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) in the function _wWinMain@16
In original code, i making change only in one line: i adding L:
wndClass.lpszClassName = L"DX11BookWindowClass";

Project tuned for Unicode in properties...
Dont talk to Billy, but i delete VS C++ 2010 express and instaled VS C++ 2010 Premium. This situation came to me again. I dont know what else can i do more...
Plz, help me with any adwices! =)
OMG!!!
That question was sooo stiupid! Yesterday my brains were realy sick xDD
Sry! =) I solved that problem just continueing to reading the book.
Topic archived. No new replies allowed.