Re: getPageSetup() crashes
- Posted by Derek Parnell <ddparnell at bigpond.com> Mar 28, 2003
- 388 views
----- Original Message ----- From: "Greg Haberek" <g.haberek at comcast.net> To: "EUforum" <EUforum at topica.com> Subject: getPageSetup() crashes > > When I call getPageSetup() and click the 'OK' button, I get this error: > > subscript value 2 is out of bounds, reading from a sequence of length 0 > > Am I doing anything wrong? Or is this a Win32Lib bug? > > Here is a snippit from ex.err: > > C:\EUPHORIA\include\tk_mem.e:906 in function fetch() > subscript value 2 is out of bounds, reading from a sequence of length 0 > struct = 7151752 > s = {} > size = <no value> > char = <no value> > cnt = <no value> > at = <no value> > > ... called from C:\EUPHORIA\include\Win32Lib.ew:8940 in function getPageSetup() > psd = 7151752 > ok = 1 > flags = 4 > paperSize = 7151772 > margins = 7151796 > devname = <no value> > result = { > {8500,11000}, > {1000,1000,1000,1000} > } > > > ~Greg > This has been fixed in v0.58x. You get the current testing version at http://www.users.bigpond.com/ddparnell/euphoria/w32005803.zip ---------------- cheers, Derek Parnell