Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8684

Eto Window.Icon property raises "handle is invalid" exception in Rhino 6 SR26

$
0
0

After the recent service release for Rhino 6 (SR26), the Icon property of the Eto.Forms.Window class produces the following error:

The line of code referenced in the error message is shown below:
image
Note that “forms” and “drawing” refer to Eto.Forms and Eto.Drawing, respectively.

Commenting out the “self.Icon = …” line allows the plugin to run without error, but obviously precludes the use of a custom window icon.

My current fix is to just comment out the problem line of code and stick with the default icon, but I thought it would be worth posting here so others are aware of the bug.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 8684

Latest Images

Trending Articles



Latest Images