You can download Aldo's chres.pl script here.
In reply to Re: Re: win32 help... by CubicSpline in thread How to get screen resolution under Win32? by Anonymous Monk