Hello,
I am trying to do a sample of GDI+ painter.. using images as buttons. However, every time I run the application I got this msg :
An unhandled exception of type 'System.OutOfMemoryException' occurred in system.windows.forms.dll
Additional information: Error creating window handle.
Although when I run the debug .. no errors found??
What that msg mean ?? and how can I solve it???
need your help as soon as possible
Sara
sanoj kumarPosted Jul 23, 2006, 5:58 AM
Your error is a common error,How is your system memory,
any way check that images, and give smaller size images.
using drawImage() is one best way.
And Check any of the program part called again and again also try to use '.Gif ' images .
invoking Garbage Collector may help you.
Mike GoldPosted Apr 12, 2006, 9:08 AM
-Mike