I just updated the DirectX Example file that is shipped with the current devCpp. There have been some warnings, that are treated as errors by default. (Submitting temporary pointers to DX Functions). I have changed this for a better coding. Beginners wouldn't understand the issue, too I guess ;-)
Also formatted the code a little bit and changed FLOAT to float BOOL to bool ShowWindow(hwnd, 1) to ShowWindow(hwnd, SW_SHOW).
And one last point:
It would be nice, if you could add a detection where DevCpp is installed. In my case, the library includes weren't correct since I modified the installation path.