Good news! I have fixed the end of the month crash!

that some people have been getting!

in a new 10.17x ready now, or in 10.17y, ready soon

the crash only affected a few people

i went through the code with a fine tooth comb, for what happens on Day 1
and i found the culprit
it was with creating a month/year stamped log file (this also now means the indoorlog.txt gets date/time stamped, so you Always have a copy, and the customtextout.txt, too)
and teh bug was the location of the directory for the logfiles was done 2x in the new file name…
and , so , if you had WD installed to a non default location, and you had it installed to a long directory structure , like, c:\program files\my programs\myweatherdata\weatherdsiplayfilesfolder\weatherdisplay\mylogfiles\logfiles

as an example, then if it was > 50 characters long then that would put it out of bounds of an array filename variable…and would cause the crash (on win98 )
i also added extra I/O error checking in the creation of new logfiles for the month

because the crash happened just befor the creation of the new datafiles for the month, that caused grief too

anway, i am glad I finally found this obscure bug (which only affected peopl with a WD location directory name of great than 50 characters)

actualy, by the time you include c:\ in the directory name, and you include the actual filename, e.g indoorlog.txt
a directory location for the logfiles of only 37 or so letter in the name would cause the crash (which win 98 would not handle as well as other OS’s)

Brian, you are the man!! I am one who was crashing and fit the catagory of the non default file location with a long directory structure. Glad you were able to find it.

Thanks for the support.

Great news :slight_smile:
No wonder I could never duplicate it…
and I thought, there must be a common thread amoungst those uers who were getting it…which was not many…and that was it… the long directory structure!
my stress levels have now dropped considerably :slight_smile:

YeeHaw! Great news Brian! Glad you were able to find the problem code and correct it.

Dan

End of month crash… NOT :multi: