Jump to content

_GDIPlus_GraphicsDispose for an array of graphics


cabrunco
 Share

Recommended Posts

Dear all, suppose I define an array of graphics using _GDIPlus_GraphicsCreateFromHWND. At the end of the script, when calling _GDIPlus_GraphicsDispose, is it ok to pass the array as an argument, or do I need to write a loop for each array element? For example:

_GDIPlus_GraphicsDispose($GraphsArray) 

 

OR

 

For $i 0 to 10

    _GDIPlus_GraphicsDispose($GraphsArray[$i])

Next

I did both and can see no difference. In fact, if I do not call _GDIPlus_GraphicsDispose I don't see anything going, to be frank. Thank you for any help,

Cabrunco

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

×
×
  • Create New...