Forum Discussion
d_dwyer
15 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
- 8 years ago
- 12 years ago
Recent Discussions
- 7 months ago
- 2 years ago