Page 2 of 2
Clipboard
Posted: Tue Jan 11, 2022 6:04 pm
by ic2
Hello Karl,
Hmm, I thought I posted a reply...
Here it is again:
Glad I could help. It makes me wonder however why it works for me (and Chris I think) apparently without this statement?
Dick
Clipboard
Posted: Tue Jan 11, 2022 10:49 pm
by Chris
Hi Dick,
I do have it in my Start() function, actually this attribute is needed for dozens of different things to work, so I already had it.
Clipboard
Posted: Wed Jan 12, 2022 2:02 pm
by ArneOrtlinghaus
We needed this attribute also for some situations that I do not remember anymore. We have it also at the beginning of the start function of the main programs.
[STAThread] ;
function Start as void
...
Arne
Clipboard
Posted: Thu Jan 13, 2022 11:36 am
by Fabrice
Here is a good explanation about this attribute, and the fact that it is needed for Clipboard support.
https://docs.microsoft.com/en-us/archiv ... d-required
Fab
Clipboard
Posted: Thu Jan 13, 2022 2:24 pm
by FFF
Hi Fabrice,
thx for the link. If i understand this correctly, the attribute has to be set, no way out of this. Couldn't the compiler throw a warning, if one instantiates a clipboard without having the attribute?