Yan #1 It's because you've re-extern'd GetWindowRect() to use a Byte Ptr and GFK hasn't.I find it easier to just use arrays.