How to create a project from existing code files?


Good day,

I have a set of .c and .h files. I need to compile and test them in CodeBlocks. I create an empty project, add all these files there, but when compiling it throws it into some header file errors.h (I don't have it in the set), writes an error:

error: unkown type name 'DWORD'

and points to this line in this errors.h :


Thanks for answers!


Apparently, you need to connect the quartz library and the dshow.h header file. I looked in my mingw folder – all these files are there, which means they should be in codeblocks, there seems to be a mingw compiler too.

Scroll to Top