Re: Win32lib Promblem
- Posted by Derek Parnell <ddparnell at bigpond.com> Aug 30, 2004
- 428 views
Andy wrote: > > Derek Parnell wrote: > > > > Andy wrote: > > > > > > I tried to make a tab control however i got this error when I tried to run > > > the program. > > > C:\EUPHORIA\include\win32lib.ew:15773 in function NewControl() > > > subscript value 193 is out of bounds, reading from a sequence of length 52 > > > > Can I see the lines of code in YOUR application that has triggered this > > message? There is not information in your post to work out what might be > > the problem. > > > > -- > > Derek Parnell > > Melbourne, Australia > > > constant Tabber3 = createEx(TabControl,"",EDWin,10,10,100,25,0,0), > TabHero = createEx(TabItem,"Heroes",Tabber3,0,0,0,0,0,0), > TabEnemy = createEx(TabItem,"Enemies",Tabber3,0,0,0,0,0,0), > TabBoss = createEx(TabItem,"Bosses",Tabber3,0,0,0,0,0,0), > TabRig = createEx(TabItem,"Rigs",Tabber3,0,0,0,0,0,0), > TabItem = createEx(TabItem,"Items",Tabber3,0,0,0,0,0,0), > TabElement = createEx(TabItem,"Elements",Tabber3,0,0,0,0,0,0) > > The error comes up with the "TabElement", if I get rid of the tab element > then i won't get the error. Please help I'd love to help, but you've got work with me. The code above is an odd way of doing things but it doesn't crash. Why don't you take a copy of your program and chip away at it by slowly removing stuff until you get the smallest program that still has the the problem. Then email me the (small) source code so I can inspect it. Often, by doing this process, a programmer finds the problem themselves. You confidentiality is guaranteed. -- Derek Parnell Melbourne, Australia