The clipboard is in the Dynamic heap, so I guess it could appear to leak
even if it's not. Try copying something very SMALL to the clipboard before
exiting.
Alan Pinstein
Synergy Solutions, Inc.
http://www.synsolutions.com
1-800-210-5293
>A quick one...
>
>I've been using some code I saw earlier to compress and report the heap size
>and the beginning and end of my program in an attempt to detect memory
>leaks. While adding support for cut/copy/paste in my text fields, I noticed
>I'm getting heap size differences on exit whenever I cut/copy from a text
>field. Is this supposed to happen? Where is the clipboard memory? Am I
>really leaking?
>
>-Paul
>
>Paul A. Dugas OnSite: voice 404.635.8026 fax 404.635.8001
>Computer & Systems Engineer Office: voice 770.926.1270 fax
>770.926.4737
>Contractor for the Ga. Dept. of Transportation Email:
>mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>http://georgia-navigator.com/ <http://georgia-navigator.com/> Web:
>http://pauld.dugas.com/ <http://pauld.dugas.com/>