by "Stefan Wuebbe" <stefan.wuebbe@[EMAIL PROTECTED]
>
Jan 6, 2008 at 01:24 PM
"Gene Wirchenko" <genew@[EMAIL PROTECTED]
> wrote in message
news:ro01o35j7thi8fof5tanbfoo0e97nml8qt@[EMAIL PROTECTED]
> Gene Wirchenko <genew@[EMAIL PROTECTED]
> wrote:
>
> [snip]
>
>> MY QUESTION: Am I relying on any potentially undefined behaviour
>>to get what appear to be correct results?
>
> I thought I had things working just fine. Suddenly, I am getting
> C*5 errors. I do not always get them, but I can not see what it is
> that is causing the problem.
You get them when the code runs that you posted?
> What do you do to track down C*5 errors? The normal debugging
> approaches do not work when VFP itself goes south.
Firstly I'd Set Resource Off, or delete foxuser.* respectively.
Then I'd have a look at all involved tables and their CDX files.
Then "dangling references" (although your code snippets do not
look like that).
Then if the C5 exceptions occur on one machine only or on
any PC - if the former, I'd have a look at driver issues - graphics
("Hardware Acceleration"), printers if any.
hth
-Stefan
--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------