Rick and Eric asked me to repost this here. This was originally brought to Joel's attention:
I originally posted my problem on foxite: http://www.foxite.com/archives/0000340507.htm.
I've narrowed the issue to only happen when I am running FoxTabs. I have been running FoxTabs for over 2 years now and I love it (remember that we met at SWFox). But, I am pretty frustrated now that I've run into the issue.
I can consistently hit the error if I type the line:
crit='faiid=famid AND faioid=famoid AND !DELETED()'
As soon as I type the open parenthesis, '(', I get the fatal error, exception C0000005. I have reinstalled VFP and FoxTabs to no avail. I'm thinking that something with FoxTabs is killing intellisense, but you may have a better insight.
Joel's response:
Thanks for the report. I have been able to reproduce this one. Every now and then, and odd case like this pops up with FoxTabs. In your example, you have to have two comparisons inside a string followed by !DELETED() entered in the same case as your Intellisense settings, then it will crash. One comparison – no crash. DELETED() in a different case – no crash. Put spaces around the first equal sign – no crash. So, it’s an odd combination that no one would guess could cause a problem, and there are plenty of workarounds. But that’s no consolation when you’ve just lost some of your code. I’ll look into this for the next release, and see if I can track it down.
Thanks,
Joel
I have since quit using FoxTabs as I never put spaces before and after an equal's sign. Also even though there are other workarounds, I'm a person that will not use a tool that loses code. Once this is fixed, I will love to use it again!
Comments: ** Comment from web user: joelleach **
I originally posted my problem on foxite: http://www.foxite.com/archives/0000340507.htm.
I've narrowed the issue to only happen when I am running FoxTabs. I have been running FoxTabs for over 2 years now and I love it (remember that we met at SWFox). But, I am pretty frustrated now that I've run into the issue.
I can consistently hit the error if I type the line:
crit='faiid=famid AND faioid=famoid AND !DELETED()'
As soon as I type the open parenthesis, '(', I get the fatal error, exception C0000005. I have reinstalled VFP and FoxTabs to no avail. I'm thinking that something with FoxTabs is killing intellisense, but you may have a better insight.
Joel's response:
Thanks for the report. I have been able to reproduce this one. Every now and then, and odd case like this pops up with FoxTabs. In your example, you have to have two comparisons inside a string followed by !DELETED() entered in the same case as your Intellisense settings, then it will crash. One comparison – no crash. DELETED() in a different case – no crash. Put spaces around the first equal sign – no crash. So, it’s an odd combination that no one would guess could cause a problem, and there are plenty of workarounds. But that’s no consolation when you’ve just lost some of your code. I’ll look into this for the next release, and see if I can track it down.
Thanks,
Joel
I have since quit using FoxTabs as I never put spaces before and after an equal's sign. Also even though there are other workarounds, I'm a person that will not use a tool that loses code. Once this is fixed, I will love to use it again!
Comments: ** Comment from web user: joelleach **
This was a tough one, but using Matthew's repro, I was able to track it down. Interestingly, Windows 8.1 would not crash with the repro, but I loaded up Windows 7 x64 and it crashed every time.
The problem was that I needed to pass on the original window event inside the multiple event binder (http://weblogs.foxite.com/joel_leach/2010/04/11/foxtabs-092-and-multiple-windows-event-bindings/). This fix will be in FoxTabs 1.2.