On 31/10/2009, at 3:36 AM, Bill Zielenbach wrote: > The compiler warns me that the def disposeH commands is deprecated. > What should I substitute in its place? dim as Handle h def DisposeH( h ) żż Warning: 'def' is deprecated; use 'fn' instead in line 3 of test The warning is asking you to replace 'def' with 'fn': fn DisposeH( h ) > It also warns me > passing argument 1 of 'GetHandleSize' from incompatible pointer type The warning is harmless. The simplest way to prevent it is to change: dim gMyPictureH AS HANDLE TO Picture to: dim gMyPictureH as Handle Robert P.