Support Board
Date/Time: Thu, 16 Jan 2025 00:04:59 +0000
Post From: Code using UseTool and DRAWING_TEXT not working in 1609 vs 1595
[2017-09-20 06:20:15] |
binaryduke - Posts: 373 |
I agree 100%. All I can point to is my direct experience that: - a study which was compiled in v1593 exhibited the non-working UseTool behaviour in v1599 onwards - but when compiled in v1609, it worked fine The only difference I can attribute this to its the header file. I also do not think it relates in any way to UseTool. I notice that in v1599, you increased the number of persistent variables per data type in ACSIL from 5000 to 50,000. The study makes use of persistent variables. v1599 was the version from which the study's UseTool routine stopped displaying. The code snippet above forms part of a function in which the LineNumber for UseTool is stored in a persistent variable to enable the drawing to be subsequently deleted. I can well imagine that some change in persistent variable handling from v1599 was the cause. I'm unconcerned as everything works correctly since recompiling. While it would be nice to pin down the exact cause, I can understand that this is work on both our sides. If it's something you'd like to investigate further however, I'll be happy to provide sample code (privately) that demonstrates the behaviour pre-v1599 and post. Just let me know. |