Jump to content

GDI+ Disposal and Shutdown


Recommended Posts

Hi,

I am in the process of writing a GDI+ graphic-heavy program using numerous pens and brushes. It is getting fairly difficult to keep up with what is created when the script is in use, so in some circumstances some components may not be disposed of properly.

What are the repercussions of not correctly shutting down GDI+ and its components?

In the past I've notiecd that task manager fills up with rundll.exe's if _GDIShutdown is not called. Is eating up memory the only downside, and will these rundll's dissappear eventually??

Thanks in advance

Andy

- Table UDF - create simple data tables - Line Graph UDF GDI+ - quickly create simple line graphs with x and y axes (uses GDI+ with double buffer) - Line Graph UDF - quickly create simple line graphs with x and y axes (uses AI native graphic control) - Barcode Generator Code 128 B C - Create the 1/0 code for barcodes. - WebCam as BarCode Reader - use your webcam to read barcodes - Stereograms!!! - make your own stereograms in AutoIT - Ziggurat Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Box-Muller Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Elastic Radio Buttons - faux-gravity effects in AutoIT (from javascript)- Morse Code Generator - Generate morse code by tapping your spacebar!
Link to comment
Share on other sites

You could give my GDIPlusDispose UDF a try and not have to worry about the disposing, it will be done automatically see the link in signature.

GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...