Technical Notes Database TN243D.txt Overwriting memory accidentally Category :Pascal Platform :All Product :Turbo Pascal 5.5 Description: Q. How can my program be over-writing memory? A. The most common causes for memory overwrites are: 1. Indexes out of range (Turn range checking on {$R+}) 2. Uninitialized variables (Write an initialization proc) 3. Pointers out of bounds (Verify that pointers are not pointing outside of the heap space) 4. Improper use of FillChar or Move (Be sure to use the SizeOf function) 5. Illogical operations on strings Reference: 7/16/98 4:35:30 PM
Last Modified: 01-SEP-99