When jv16 4.0.0.1486 on Windows 2000.
It crashes with EOSError / System Error Code: 87 / Illegal parameter.
http://blog.livedoor.jp/blackwingcat/archives/1901277.html
And when I execute it on Windows 7 with Windows 2000 compatible mode, it also crashes same reason.
I analyzed it , the program calls RegisterClass with illegal WNDCLASS strucutre.
The style value 0xfffe080b.
I think you forgot initialize style value initialize with 0.
I think The correct value is 0x0002080b.
When I change it, it works fine.