Hi, I'm having this problem too
Here's my project's link list
kernel32.lib user32.lib gdi32.lib comctl32.lib comdlg32.lib advapi32.lib delayimp.lib
And here's the code
#define WIN32_DEFAULT_LIBS
#include <windows.h>
#include <stdio.h>
int main()
{
int i;
for (i=0; i<10; i++)
printf("%d\n", i);
return 0;
}