freezy / dmd-extensions

A toolbox for virtual pinball dot matrix displays.
GNU General Public License v2.0
128 stars 54 forks source link

enabling alphanumeric while disabling virtualdmd fires an exception #229

Closed Vroonsh closed 4 years ago

Vroonsh commented 4 years ago

while trying this setting in dmddevice.ini [bttf_a27] alphanumeric enabled = true virtualdmd enabled = false

I have an exception during VirtualAlphaNumericDisplay creation :

System.InvalidOperationException HResult=0x80131509 Message=The calling thread must be STA, because many UI components require this. Source=PresentationCore

image

freezy commented 4 years ago

Huh, looks like an obvious bug, thanks for reporting!

Vroonsh commented 4 years ago

My pleasure. Anyway the alphanumeric looks amazing on my LCD, Tks for that :D

freezy commented 4 years ago

Build here if you want to retest!