MSNLD / mono-chat-client

The official desktop client of Mono.Chat
1 stars 0 forks source link

Setting the OCX BackColor causes System.AccessViolationException #5

Open realJoshByrnes opened 7 months ago

realJoshByrnes commented 7 months ago

Setting the BackColor of the OCX causes a crash: An unhandled exception of type 'System.AccessViolationException' occurred in mono-chat-client.dll

This only applies to the BackColor, and my gut tells me that it's something to do with the fact that BackColor is used by C# for many objects (including AxHost).

realJoshByrnes commented 7 months ago

Same happens when setting BackColor or ForeColor on Chat Settings. ForeColor does not cause an issue on the main Chat Frame.