Hello bytebites, yes, the errors disappeared now. Thanks a lot. But I expected, after running my program, that the clipboard contains "Hello world". But it still contains that, what was in the clipboard, before I started my program. Is there some kind of "finalization" missing?
Do you or somebody else know, how my code must be modified to work? I want to write something into the clipboard.