Ok… add another issue for attempting to use Xojo.Rect:
External functions cannot use objects as parameters.
Module1.GetClientRect, line 2 -External functions cannot use objects as parameters
Declare Function GetClientRect Lib “User32.dll” (hWnd as Integer, ByRef lpRect as RECT) as Boolean
Edit: Another error that is related:
Module1.tagTOOLINFO, line 4 - Structures cannot contain Xojo.Rect fields.
MyRect as Xojo.Rect
Either use name besides Rect or Put Your Rect Structure in a module and use the fully qualified structure name, and use ModuleName.Rect or in a Class and use ClassName.Rect
You should not have to do that IMO as this usage SHOULD be unambiguous…
You can try to convince them that the current behavior is a bug… but I would not hold my breath for a fix or even agreeing it is a bug