1. Re: Phil Russel - EuGrid

Craig Welch wrote:
> 
> However, there are a couple of hundred characters in the grid that
> -must- be drawn from bitmap files (fixed, existing files, not
> dynamically written files). I found that each time one of those was
> drawn, another GDI Object was created, and not released. I've modified
> eugrid.ew as follows:
> 
> At the end of EGW_DrawBitmap:
> }}}
<eucode>
> -- release the memory
> eugrid_mem:W32_release_mem( mset )
> 
> -- CW addition:
> if sequence(bitmap) then
>     deleteObject(hBitmap)
> end if
> </eucode>
{{{

> 

Craig,

Good point - I think I've gotten away with it until now because no-one has
stressed the lib quite as much as you have!

To break up the monotony on the long march to version 2.0, I think I will
bundle the bugfixes from this plus a couple of others into a patch release
sometime this week.

I suppose I should also amend the documentation to say that using file handles
is a better idea than file names. But hey - open source software wouldn't be
quite so much fun if the documentation told you everything blink

Cheers,

Phil

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu