Re: euphoria error

new topic     » goto parent     » topic index » view thread      » older message » newer message
dcole said...

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) 

dcole said...

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.


dcole said...

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.


dcole said...

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.


dcole said...

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.


dcole said...

win32lib.ew 9316 id should be object

Agreed. This is a bug. As it stands, setParent can't be used with ListViews or TreeViews.


dcole said...

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.


dcole said...

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?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu