error LNK2019: unresolved external symbol __imp_MessageBoxA referenced in function WinMain

  • Thread starter Thread starter k suresh babu
  • Start date Start date
K

k suresh babu

Guest
#include <stdio.h>
#include <windows.h>
#define winmain(p1,p2,p3,p4) \
int WINAPI WinMain (HINSTANCE p1, HINSTANCE p2, PSTR p3, int p4)
int a;
int b;
//winmain(p1,p2,p3,p4)
int WINAPI WinMain (HINSTANCE p1, HINSTANCE p2, PSTR p3, int p4)
{
printf("om");
MessageBox(NULL,TEXT("Om"),TEXT("Krim"),0);
return 0;
}

Continue reading...
 
Back
Top