Arrgh.. this is kinda silly.

I am used to the interface of Delphi 7 and Delphi 2006, but recently I started using Delphi 2010. I accidently added all the paths in the settings for the "resource compiler" instead of the delphi compiler. It works now.