Pelles C for Windows is a complete development kit for Windows, Pocket PC, and Smartphone. It contains among other things an optimizing C compiler, a linker, a resource compiler, a message compiler, a make utility and install builders for Windows, Pocket PC,and Smartphone.
Pelles C Link: http://www.smorgasbordet.com/
NOTES
1. For the code examples use empty projects of type Win32 Program (EXE).
2. Set Project -> Project Options -> Linker -> Subsystem Type to Console.