Re: euphoria error
- Posted by DerekParnell (admin) May 03, 2010
- 2125 views
win32lib.ew line 4622 word should be object
I don't have anything like this in my win32lib.ew. Line 4622 is ...
cts_preallocated += SIZEOF_POINT
which is in
global function ClientToScreen(integer id, integer x, integer y)
w32resources.ew 3485 global function textToBitmap( sequence s ) s should be object global function textToBitmap( object s )
Why? The purpose of the routine is to take a text string, in which SPACE represents a black pixel and NON_SPACE represents a white pixel, and convert that into a monochrome bitmap image. Passing an atom to this routine makes no sense.
w32resources.ew 5230 procedure setMousePointer_( object id, atom handle, integer flag) sequence lKids,lCursors should be object lCurors
Yes, this can cause a crash. However, instead of changing the datatype, which just masks the problem, the routine needs to be written better.
w32resources.ew 5472 maskbits should be object
I don't think so. 'maskBits' needs to be the same datatype as the 'image' parameter, which is a sequence. And that needs to be a sequence as it is a monochrome text 'picture' of a mouse pointer you wish to create.
w32resources.ew 4064 image should be object
I don't think so. 'image' is a set of sequences so must be a sequence. An atom here makes no sense at all.
win32lib.ew 9316 id should be object
Agreed. This is a bug. As it stands, setParent can't be used with ListViews or TreeViews.
win32lib.ew 12532 attribs should be object maybe integer
I don't think so. 'attribs' must be a sequence because it is initialized using the 'repeat()' function whose output is always a sequence. It is supposed to contain zero or more elements, one per item in a ListView.
win32lib.ew 18133 line should be object
I'm not sure which routine you are referring to here, but all the line symbols around this seem to be the correct data type. Why do you think otherwise?