VC + + errorLNK2001

Users questions: #include windows.h LONGWINAPIWndProc(HWND,UINT,WPARAM,LPARAM);intWINAPIWinMain(HINSTANCEhInstanc e,HINSTANCEhPrevInstance,LPSTRlpszCmdLine,intnCmdShow){WNDCLASSwc;HWNDhwnd;MSGmsg;BOOLbReg;wc.style= CS_HREDRAW * CS_VREDRAW; ** window style wc.lpfnWndProc = (WNDPROC) WndProc; ** window function wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc . HInstance = hInstance; ** instance handle wc.hIcon = LoadIcon (NULL, IDI_WINLOGO); ** loading icon wc.hCursor = LoadCursor (NULL, IDC_ FirstWindowClass ", ** WNDCLASS'snamee" the first of a Windows application ", ** window'stitleWS_OVERLAPPEDWINDOW, ** window'styp eCW_USEDEFAULT, ** window'ssideofweightCW_USEDEFAULT, ** window'ssideofheigh300, ** the initial width of 400, ** initial height HWND_DES KTOP, ** the parent window handle NULL, ** menu handle hInstance, ** application instance NULL ** window creation date); ** showwindowShowWindow (hwnd, nCmdShow); UpdateW indow (hwnd); ** start the message loop, send a message to the window function WndProc handle while ((bReg = GetMessage (& msg, NULL, 0,0))! = 0) (if (bReg ==- 1) (* * Application Process error) else (TranslateMessage (& msg); DispatchMessage (& msg);)) returnmsg.wParam;) LRESULTCALLBACKWndProc ( HWNDhWnd,UINTmessage,WPARAMwParam,LPARAMlParam){PAINTSTRUCTps;HDChdc;char*szHello= welcometouseVC ;s witch (message) (caseWM_PAINT: HDC = BeginPaint (hWnd, & ps); RECTrc; GetClientRect (hWnd, & rc); ** DrawT ext(hdc,szHello,strlen(szHello),&rc,DT_CENTER);EndPaint(hWnd,&ps);return0;}returnDefWindowProc(hWnd,
  • This information provided by the users.Thanks!