Solved dwmapi.h help

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

j3b

Jr.Coder
Full Member
Nobleman
Dec 18, 2012
67
408
1
Hello. Im programming in Codeblocks(dont ask why ;) )

But i have a problem.. im tyring to include dwmapi but it doesnt work, it says... No such file or directory.

Anyone got any ideas :)?
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,118
78,998
2,392
Use Visual Studio, not code blocks.
 
Last edited:

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,187
12,638
76
Do you have the standard libraries (needed headers)? If you do try #pragma comment(lib, "dwmapi.lib"). Btw dwmapi is only compatible with vista and above
 

j3b

Jr.Coder
Full Member
Nobleman
Dec 18, 2012
67
408
1
Do you have the standard libraries (needed headers)? If you do try #pragma comment(lib, "dwmapi.lib"). Btw dwmapi is only compatible with vista and above
Yepp.. windows 7.. I have windows sdk with dwmapi.h in there....

this one works : #pragma comment(lib, "dwmapi.lib")

But dwmpai.h doesnt :/ any ideas :?
 

Szaka

Coder
Full Member
Nobleman
Mar 14, 2013
161
718
3
Windows stuff should be programmed in msvc++. Its simple and everything works fine, i remember i couldnt compile many sources containing windows APIs with codeblocks.
 

j3b

Jr.Coder
Full Member
Nobleman
Dec 18, 2012
67
408
1
Well i fixed it by downloading visual c++ ...

Now i have a problem with my world2screen.... will try some more before i ask for help :)
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods