User forums > General (but related to Code::Blocks)

Sleep() function errors

(1/3) > >>

Vlad417:
when i try to compile a program using Sleep(); i get an error for everytime 'DWORD' is stated in the 'winbase.h' header.

is there any way to get around this or another function i could use to pause the program for variable  lengths?

Another question: How could i full screen the program?

darthdespotism:
What compiler do you use?

Vlad417:
GNU GCC

raph:
Please post the exact error message.

patlecat:
I've just compiled a program with Sleep() using GCC4.2 and CB 4051, it works perfectly well (under WinXP-SP2).

Navigation

[0] Message Index

[#] Next page

Go to full version