Paul A. Dugas writes:
> non-deterministic memory problems
[...]
> clearing "PC-Relative Strings" fixed it.
[...]
> Can anyone explain what this option does and
> what clearing indicates is wrong with my app?
If it's off, string literals are put in global data, and you get problems
from non-normal launch codes like Danny described.
If it's on, string literals are put in the code resource.
You didn't say what memory problems you had. Attempting to modify your
string literals (which is bad bad style anyway) would cause fatal errors
when it means writing to the read-only code resources. You could also
be bitten by changes in the coalescing of similar strings (ie, if strings
are read-only, the compiler is free to store "hello" and "lo" in the same
memory). (I don't know if CW actually does this.)
John