Re: Win32Lib Pixmaps error

new topic     » goto parent     » topic index » view thread      » older message » newer message

> From:  Lewis Townsend

<SNIP>

> C:\EUPHORIA\LEWIS\Karitaren\Graphics\win32lib.ew:9730 in procedure
> setPixmap()
> subscript value 0 is out of bounds, reading from a sequence
> of length 12
>     id = 0

<SNIP>

It looks like your procedure Dress() is passing a zero as its first param to
setPixMap(), which is id in setPixmap().  Win32lib uses id as a subscript to
find the handle of the pixmap (within the sequence window_handle), hence the
subscript error.  Looks like the bug is coming from somewhere in your code.
Probably just a typo somewhere.

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu