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
- ArneOrtlinghaus
- Posts: 412
- Joined: Tue Nov 10, 2015 7:48 am
- Location: Italy
Clipboard
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
[STAThread] ;
function Start as void
...
Arne
Clipboard
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
https://docs.microsoft.com/en-us/archiv ... d-required
Fab
XSharp Development Team
fabrice(at)xsharp.eu
fabrice(at)xsharp.eu
Clipboard
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?
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?
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)