$ 0 0 Memory is managed properly in the CImageClass:GetProjection method. Removed call to DoEvents in TestApplication.