awertyui / gmail.com wrote:
>   POINT = struct [
>    "ULONG x",
>    "ULONG y"
>   ]
> 
> 
>   MSG = struct [
>     "HWND hwnd",
>     "UINT message",
>     "WPARAM wParam",
>     "LPARAM lParam",
>     "DWORD time",
>     "POINT pt"
>   ]

As the type POINT can't be defined internally, you can't use it in the definition of "MSG".
I think the following definition will do for the purpose.

MSG = struct [
   "HWND hwnd",
   ...
   "ULONG pt_x",
   "ULONG pt_y",
]

-- 
Takaaki Tateishi <ttate / ttsky.net>