Re: euphoria error
- Posted by petelomax May 03, 2010
- 2130 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)
FYI, I believe he is referring to
global function controlStyle(integer id,object flags,integer extended,integer action)
in which my recommendation is
sequence words --(as is) -- kludge: and_bits() only works on integers, not on atoms representing machine integers --PL 02/05/10 --/**/ words=sq_and_bits(w32unpack_dword(oldFlags),w32unpack_dword(flags)) --/* Phix words=and_bits(w32unpack_dword(oldFlags),w32unpack_dword(flags)) -- RDS */
Thanks, I can tick that one off now.
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.
The problem line, in procedure handleLV, is
attribs=-2
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?
I believe he is referring to
global procedure deleteLine(integer id,integer line)
which I accidentally changed to
global procedure deleteLine(integer id,sequence line)
though I really meant
global procedure deleteLine(integer id,object line)
Regards, Pete