gary@sun.mcs.clarkson.edu (Gary Levin) (10/27/89)
I have an odd problem. I have a program derived from the TinyEdit example. If I try to open a file that is too large, I receive an alert. This much is correct. When I run the program under the debugger, I correctly get the message ``File is too large''. This comes from OpenFile in CEditDoc. The problem is when I run the application, I get a totally different string appearing in the alert. I am compiling with separate strings, because of space limits. The odd part is that the string that gets printed is in the data resource, not the STRS resource. What is printed is ``$Header: rev_info'', taken from the declaration below. char rev_info[] = "Author: Gary Levin\n\ Developed at Clarkson University\n\ Copyright Gary Levin 1986, 1987, 1988, 1989\n\ $Header: rev_info.c,v 1.6 89/10/17 16:21:26 gary Locked $\n"; Any idea why the wrong string is grabbed? Anyone else see a similar problem? This seems to be the only alert that is messed up, but it is confusing to the user. -- Gary Levin/Dept of Math & CS/Clarkson Univ/Potsdam, NY 13676/(315) 268-2384 BitNet: gary@clutx Internet: gary@clutx.clarkson.edu