Peter, Just a wild stab here but have you tried at the beginning of your prog (in the loader?) :
_VFP.Autoyield=.F. "Specifies whether an instance of Visual FoxPro processes pending Windows events between execution of each line of user program code." I know this was specifically designed to work with activex objects but I have found that it is necessary with other supposedly "well behaved". It is scoped VFP wide not per datasession. Dave Crozier -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Peter Hart Sent: 19 August 2009 15:29 To: ProFox Email List Subject: RE: Buffer Overrun. Thanks to both you and Tracy. The Client has to catch up with some work lost whilst I tried a number of things this morning. SO he is leaving his machine on when he goes home so another late night. Cheers Peter Malcolm Greene Sent: 19 August 2009 15:01 To: [email protected] Subject: RE: Buffer Overrun. Peter, Some ideas off the top of my head: 1. Make sure you don't have a corrupted foxuser.dbf. If you can avoid using a foxuser resource file, do it (turn it off in your config.fpw) 2. Open a shell prompt, and simplify your path to the min length possible. Then run your app. 3. Use SET COVERAGE to keep a coverage log (works at runtime with VFP 9) - see if you can determine where a crash happens by looking at your coverage log ouptut. 4. The bb* utilities may use an FLL that may be causing compatibility problems. How many FLL files are you using? Good luck! Malcolm [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/7d325ef80f8e412c8ce82f6199751...@develop ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

