As long as the event that caused the damage was at a time your policy was in force with Company A, then Company A covers the claim.
All Companies do some kind of visual inspection of a new policy. Underwriting is as tight as ever, older roofs will be scrutinized and possible declined for...