09.06.2015, 15:24
Thanks for the replies! I will have to check when I go home, but my main use case was when the program was still running and without executing the dos_CloseToolTypes{} call, so that would explain why I didn't see the updates - I reopened the icon info but didn't exit the program.
My test program had the same behaviour but I think that may have had the problem because it did not have an End statement (yeah, I know that's bad but it was just a test). It sounds like that would be caused by Der Wanderer's suggestion of not closing the program properly.
I don't think it needs the functionality changed really if dos_CloseToolTypes{} works, maybe it just needs a note in the documentation to explain how it works. Being able to change lots of tooltypes in one go and save it at the end would have advantages on slower systems, floppy disks etc...
I'll try it tonight and see how I get on and let you know. Thanks for your help!
My test program had the same behaviour but I think that may have had the problem because it did not have an End statement (yeah, I know that's bad but it was just a test). It sounds like that would be caused by Der Wanderer's suggestion of not closing the program properly.
I don't think it needs the functionality changed really if dos_CloseToolTypes{} works, maybe it just needs a note in the documentation to explain how it works. Being able to change lots of tooltypes in one go and save it at the end would have advantages on slower systems, floppy disks etc...
I'll try it tonight and see how I get on and let you know. Thanks for your help!