Re: Win32Lib Pixmaps error
- Posted by Brian Broker <bkb at CNW.COM> Jul 17, 2000
- 437 views
On Sat, 15 Jul 2000 16:30:00 GMT, Lewis Townsend wrote: >Hello David, anyone... > >I am writing a program to display some bitmap images by transBlt()ing >them on top of each other. I am using Pixmaps to store the images so >I can just blit a few at a time. I got it working one time but I >changed some stuff and now I get this error: > ><path>\Win32lib.ew:9730 in procedure SetPixmap () >subscript value 0 is out of bounds reading a sequence of length 20 >.... > >I had to type that in manually but I'm sure the line number and >error is correct. Do you know what kind of bad data I am passing >to setPixmap that causes it to have this error. I printed out my >path and filename with wPuts () and it looks okay but I am creating >it at runtime within a loop. I'm sure the file it fails on is there >but when I print it out, there is a vertical slash thru the '2'. >Does anyone have any ideas? If you still haven't figured this out, I'd be happy to help. I would need to know what version of Win32lib you are using and maybe the contents of your ex.err (for more info). If you don't mind sharing your code I could probably figure it out even faster. -- Brian