I am having a problem making a call to the power manager. The modemstatus returns random data. I looked at the code in macsbug and it seems to be dereferencing a nil handle?? the code follows: {——————–} procedure ChartWindowObj.Background; var srcRect, dstRect: Rect; pt: Point; ms: Byte; i: Integer; err:…