《朗文当代高级英语辞典》第6版 指出:不要说 someone "has difficulty to do something" ... 而要说 someone has difficulty doing something or has difficulty in doing something.
所以:
The composer has difficulty writing this piece.
这句里面writing 不可以改为不定式 to write 。
《高考英语备考1号·速效编》
《高考英语备考1号·写作编》
《高中英语晨读晚记》
《高中英语错题笔记》
《零起点考大学英语》