|ok, i fixed it myself, 3 days to late! U guys are quick to answer, but dont believe u are experts as the web site says.|
U could have said, go to project, project settings, parameters, and add a linker named -kernel32
Then compile and your program should work, glad to help. I really mean it, im proud of helping experts but dissapointed of your skills in helping people who needs a program the 1. april!