Hi all,
not sure if 32-bit issues are still going to be looked in to, but for my peace of mind at least...
Long story short, the following Shade statement is dynamically built up as a string and then executed as a run command:
Shade triangles with colcode Values "1" Brush (1, 16711680) Pen (1, 2, 16711680), "2" Brush (1, 255) Pen (1, 2, 255), "3" Brush (1, 65280) Pen (1, 2, 65280) Default Symbol (34, 12632256, 6) Brush (2, 0) Pen (1, 2, 0)
(16711680 = RED; 255 = BLUE; 65280 = GREEN)
See Attachment
Running the mbx (compiled and linked with MapBasic 8.5) with 8.5.1B I get the correct results, but incorrect results running with 15.0.1 (see picture). The solid blue triangles (value = 3) have a green outline (which is correct) but they shouldn't have a solid fill, and the green triangle (value = 2) has a blue outline (correct) but again it shouldn't have a solid fill. Compare that to the shade statement that produced these results where the colours specified for pen and brush are the same though.
I've trailed through the code to see if there was anything else possibly happening after the first shade statement that could be overriding the first but am pretty confident this isn't the case, and then there's the fact that the same mbx being run by different instances of MapInfo produces different results.
Is there anything anyone can think of that might be causing this?
Cheers,
Alex