I have been using Buffer Overrun detection, in attempting to debug an intermittent and confusing runtime error in my application. I thought I was on to something when I was finally able to reproduce a Buffer Overrun error in a simple test application that uses a tABSQuery componenent (Absolute Database, ComponentAce). However, it appears that although this error displays every time on my own development machine, it runs with no problem on a VM or another local Win10 machine - and when I submitted it to ComponentAce, they also had no errors.
Can you shed any light on why a Buffer Overrun error could be environment-dependant? The machine that exhibits the Buffer Overrun has passed Win10's Memory Diagnostic test.
Development machine: Win10, XE5, 32 bit compiler, 32 bit exe, ME 4.0.13.
Inconsistent Buffer Overrun error
Re: Inconsistent Buffer Overrun error
Good question, I don't really have any good idea right now.
Could the exact size of the allocation in question vary, depending on the environment?
Could the exact size of the allocation in question vary, depending on the environment?