Aug 31, 2014 at 4:57pm UTC
Hi, fellow coders! I just started with CDX and DirectX coding, but I get this "dplay.h is missing" error. I've read that DirectX deleted that file, and that downgrading to April 2005 would work. However, I don't seem to be able to downgrade. What could I do about it?
//LEGOlord208 - Appreciates any help
Aug 31, 2014 at 5:26pm UTC
Change the part of your code that relies on that header file. Do you know what functions you are calling from it?
Aug 31, 2014 at 5:40pm UTC
Last edited on Aug 31, 2014 at 5:40pm UTC
Sep 2, 2014 at 12:50pm UTC
Thank you all for answering :D
I was expecting the website to send me an email. Sorry for late answer.
1 answer: I do have the ability to find that.
2 answer: Recent, is that latest or older versions? I think it is the latest versions ;)
Sep 2, 2014 at 1:44pm UTC
Sure your do, go into the header files that you are including in your project and try ctrl + f. Header files are always stored in plain text.
Sep 2, 2014 at 2:51pm UTC
Then find and don't replace.
Sep 2, 2014 at 3:03pm UTC
Then find and don't replace.
Sure. Could you please make a list about what I am going to do, instead of saying one thing every message, because I think it's easier and goes faster.
Last edited on Sep 2, 2014 at 3:04pm UTC
Sep 2, 2014 at 3:12pm UTC
- Locate every instance of "#include" in your source code.
- Open all of the files they indicate.
- Identify which one is including "dplay.h" and comment that source file out from YOUR source code.
- Recompile to see which functions break.
- Replace those functions with their more modern versions.
Sep 2, 2014 at 3:17pm UTC
- Locate every instance of "#include" in your source code.
- Open all of the files they indicate.
- Identify which one is including "dplay.h" and comment that source file out from YOUR source code.
- Recompile to see which functions break.
- Replace those functions with their more modern versions.
Ok, thanks :D
Last edited on Sep 2, 2014 at 3:17pm UTC