Load resources from an .rdef file + fix