Bei diesem wirklich einfachen code
Delphi-Quellcode:
//-------------------------------------------
// DEFINES
//-------------------------------------------
#define WIN32_LEAN_AND_MEAN
//-------------------------------------------
// INCLUDES
//-------------------------------------------
#include <windows.h>
int
WINAPI WinMain (HINSTANCE hinstance,
HINSTANCE hprevinstance,
LPSTR lpcmdline,
int ncmdshow
)
{
MessageBox(0,"inhalt","titel - hallo", MB_OK | MB_ICONEXCLAMATION);
return 0;
}
bekomme ich folgenden fehler
Code:
main.obj : error LNK2020: unresolved token (0A000011) "int __stdcall MessageBoxA(struct HWND__ *,char const *,char const *,unsigned int)" (?MessageBoxA@@$$J216YGHPAUHWND__@@PBD1I@Z)
main.obj : error LNK2001: unresolved external symbol "int __stdcall MessageBoxA(struct HWND__ *,char const *,char const *,unsigned int)" (?MessageBoxA@@$$J216YGHPAUHWND__@@PBD1I@Z)
koennte mir einer bitte sagen was ich da falsch mache ??