>Hi Experts!
>
>I have a form class with a grid which sets itself up on the fly using details from a cursoradapter specified in the form.
>
>I used to encounter this BEX problem when I run the form from a menu using the Command type in the Menu Builder. I read somewhere that this (forms with grid in it) poses a problem when run the VFP menu using Command. So, I used a Procedure instead, then calling the form (DO FORM frmFormWithGrid).
>
>Right now though, it seems to have gotten worse! Even running the same form from the command prompt generates that BEX problem!
>
>Thanks in advance for your help!
>
>This is the full text of the error:
>
>Problem signature:
> Problem Event Name: BEX
> Application Name: vfp9.exe
> Application Version: 9.0.0.7423
> Application Timestamp: 49a31c0c
> Fault Module Name: StackHash_e98d
> Fault Module Version: 0.0.0.0
> Fault Module Timestamp: 00000000
> Exception Offset: eefeeefe
> Exception Code: c0000005
> Exception Data: 00000008
> OS Version: 6.1.7601.2.1.0.256.1
> Locale ID: 13321
> Additional Information 1: e98d
> Additional Information 2: e98dfca8bcf81bc1740adb135579ad53
> Additional Information 3: 6eab
> Additional Information 4: 6eabdd9e0dc94904be3b39a1c0583635
>
>Dennis
Hi,
Looking at your error report, it seems to me you have a C000005' error.
BEX refers to Buffer Overflow Exception.
For more details on BEX, kindly visit
http://technet.microsoft.com/en-us/library/cc738483(WS.10).aspxC000005 errors are difficult to cure, mostly they are caused by a lack of memory but other reasons are very well possible.
Google fore "C000005 VFP" (without the quotes) and you will get 10'000 plus answers.
If you encounter continously this error with your application you will have to review your complete coding from the start.
Do you have any idea where / on which point of your application this error is caused?
Regards,
Koen