proper order of resources in windows