Forum Discussion
d_dwyer
14 years agoOccasional Contributor
The problem had to do with the following code:
MemoryStream.Read(cOne, 1);
MemoryStream is a TMemoryStream and cOne was declared as a char. Changing the declaration of cOne to an AnsiChar resolved the problem. however, I am not sure why the code behaved differently in release and debug modes.
Thanks
Dave
MemoryStream.Read(cOne, 1);
MemoryStream is a TMemoryStream and cOne was declared as a char. Changing the declaration of cOne to an AnsiChar resolved the problem. however, I am not sure why the code behaved differently in release and debug modes.
Thanks
Dave
Related Content
- 7 years agodcee
- 12 years agoFrank_Zeugfang