My program runs fine, but in debug mode I get this message:
Does anyone know what kind of errors will cause this message? Variable THISNAME is a *40 character variable.
With /check:stack enabled, code is added to check for inappropriate writes to stack outside of declared variables. Some part of your program is writing to memory where it shouldn't. Unfortunately, the error check may be considerably later than the code that did the corruption.
Right. Found it. Many thanks!