SolvedCodeBlocks | How to include windows.h

Posts 1–3 of 3 · Page 1 of 1
CodeBlocks | How to include windows.h
Hello, I'm using CodeBlocks as IDE (C++), but I have a question.
I've downloaded the Windows SDK and I can find the windows.h, but when I write "#include <Windows.h>", It says "There is no such file or directory" while compiling.

Can someone help me with this situation?
Tell me if this question is not that 'detailed'.
Quote Originally Posted by Zugatti View Post
Hello, I'm using CodeBlocks as IDE (C++), but I have a question.
I've downloaded the Windows SDK and I can find the windows.h, but when I write "#include <Windows.h>", It says "There is no such file or directory" while compiling.

Can someone help me with this situation?
Tell me if this question is not that 'detailed'.
Have you included it to your project?
Personally I've never used CodeBlocks, try googling how to include External Dependencies
Are you on windows?
And are you using GCC / Cygwin?
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us