// PLIKI NAGLOWKOWE
//
#include <Windows.h>
// WINMAIN
//
int WINAPI WinMain(
HINSTANCE hInstance, HINSTANCE hPrebInstance.
LPSTR IpCmdLine, int nShowCmd)
{
MessageBox(0, "Witam! Czego chcesz?" ,
"Pytanie" , MB_OK | MB_ICONQUESTION) ;
return 0 ;
}
Gdy zaczynam robic build to mi takie bledy wyskakuja wlasnie problem jest w tym ze nie wiem jak je naprawic i gdzie jest zle
C:\Documents and Settings\DOM\Moje dokumenty\Visual Studio 2010\Projects\Wiadomosc\Debug\Wiadomosc.exe : fatal error LNK1120: 1 unresolved externals
------ Build started: Project: WinMain, Configuration: Debug Win32 ------
WinMain.cpp
c:\documents and settings\dom\moje dokumenty\visual studio 2010\projects\wiadomosc\winmain\winmain.cpp(3): warning C4627: '#include <Windows.h>': skipped when looking for precompiled header use
Add directive to 'StdAfx.h' or rebuild precompiled header
c:\documents and settings\dom\moje dokumenty\visual studio 2010\projects\wiadomosc\winmain\winmain.cpp(17): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
Z gory dziekuje
Użytkownik Uralos edytował ten post 25.06.2011 18:54