Sorry about the "weak" comment - I am just a frustrated user at this point....
VFP8 is *way more* stable than 7 ever was. Sorry to say this, but it's more
than likely your code or the way you're doing things that's the cause.
While VFP8 is NOT perfect, it is definitely more stable than any other
previous version.
Fred
Microsoft Visual FoxPro MVP
> Hi All,
>
> I recently upgraded my application from VFP 7 SP 1 to VFP 8 SP1 and it has basically become unusable - I am considering rolling back my upgrade and
waiting for another SP. My clients are experiencing lots of C5 errors -
there is one specifically below. There are tons! of C5 errors all over the
application, closing various forms causes C5s, clicking on certain pages in
page frames, drop down lists in grids don't work and oftern cause a C5 after
moving through the grid and then the form is closed. Awful.
> Anyone have any ideas on this specific one?
>
> When a report is previewed and the printer button is pressed - report prints correctly no errors.
> IF however
> the user previews the report - pages to the end (three pages) then page back to the first page - press the printer button and 1 or 2 pages is sent
to the printer and the summary band with totals and C5 error occurs.
> I have followed all the standard "fixes" for this error - I have a config.fpw that is included in my project which points to a read-only
foxuser.dbf with only 2 records in it (the two records ensure that the
report controls appear when the report is being modified within the
application) I also replaced the EXPR & the other two fields that hold
printer information in the frx with "" which had no impact. It runs perfect
in VFP 7 SP1.
> Is it just me or does it seem like VFP 8 is way less stable then previous releases (excpet for 3.0). - I have been a VFP user since FoxBase 1.02 I
think was the version way back in 88 - 89 and it seems like MS attention to
QA is weak.
> Thanks,
> Jerry Rodgers
Jerry Rodgers - 14 Feb 2004 22:16 GMT
Hum, so I made NO code changes and just recompiled my (VFE app) under VFP 8.0 and now am having endless errors - seems like it would be VFP not the application that has the problems - unless what you are telling me is things that use to work fine don't because VFP has been improved
Fred Taylor - 15 Feb 2004 01:46 GMT
No, what I'm saying is there may be code that seems "to work" in earlier
versions, but it may be doing something that was never really "allowed", but
it did work. Just because some code used to work in one version is no
guarantee that it will work in others, especially if it involved "tricks".
(I have no knowledge of VFE and if it did or did not use any "tricks").
In my experience, a lot of C5 errors are caused by referencing an object
which is no longer there, or with video and printer driver related issues.
Personally, I saw lots of these, or in using a mixture of old code (DEFINE
WINDOW, etc) along with the object oriented way of doing things. Almost all
were cured by changing code, very few (if any) could not be made to go away.
In those instances, taking a very different approach to the problem made the
C5's go away.
Fred
Microsoft Visual FoxPro MVP
> Hum, so I made NO code changes and just recompiled my (VFE app) under VFP 8.0 and now am having endless errors - seems like it would be VFP not the
application that has the problems - unless what you are telling me is things
that use to work fine don't because VFP has been improved?
Fred Taylor - 15 Feb 2004 01:49 GMT
Another note. I used to see lots of C5 errors on W98 laptop machines. In
almost every case, those errors went away by upgrading the machines to W2K.
Not a single thing was changed in the VFP app, but it no longer crashed. So
tell me, was it VFP? I don't know, but I know where *I* think the problem
was. ;)
Fred
Microsoft Visual FoxPro MVP
> Hum, so I made NO code changes and just recompiled my (VFE app) under VFP 8.0 and now am having endless errors - seems like it would be VFP not the
application that has the problems - unless what you are telling me is things
that use to work fine don't because VFP has been improved?
Jerry Rodgers - 16 Feb 2004 07:36 GMT
I see your point, is there anyway to determine the suspect code? Is there anything in the C5 dumps or a way I can debug where these problems are
Thanks,
-Jerry
Fred Taylor - 16 Feb 2004 08:10 GMT
Hi Jerry,
No, there usually is no simple way to determine what exact code causes the
C5, as a C5 typically references memory that has been corrupted in some
manner, which may have happened in a very different section of the code.
I've personally always referred to that as the "poison dart syndrome". VFP
kind of staggers around after the corruption and falls over in a totally
unrelated piece of code. Some times, it may even be a corrupted piece of
data or a corrupted index that causes the problem. These types of
corruptions may be caused by hardware or cabling that's not quite up to
snuff, or on systems that aren't up on the latest patches, etc.. Some OS's
are just more prone to these kinds of problems, or particular printer and
video drivers. The possibilities/combinations are nearly endless. :(
The only effective mechanism I know is to keep removing code until it stops
doing it. And then adding it back in until you see exactly what triggered
it.
A C5 dump can provide Microsoft with additional information, so when it
prompts you to send that info to Microsoft, please do so. You probably
won't hear from anyone about your particular crash, but it is still
evaluated and may help in producing a better product.
Fred
Microsoft Visual FoxPro MVP
PS:
it helps if you at least quote some of the previous conversation, so it can
be determined what the thread is about. I use IE and have it set so that
once a message is read, I no longer see it, so there is no "thread" to
follow. When all you do is an empty message, it's extremely difficult to
follow or to even know just who it is your corresponding with.
> I see your point, is there anyway to determine the suspect code? Is there anything in the C5 dumps or a way I can debug where these problems are?
>
> Thanks,
> -Jerry
HGC NET-YAN - 17 Feb 2004 02:36 GMT
Hi Jerry,
I am also using VFE 6.33 with VFP 6 SP5 and I am planning to upgrade to VFP
8.
As I aware that VFE 7.5 had made some enhancement to cope with VFP 8, such
as " The BindControls method of cPresentObjForm was removed in order to
provide compatibility with VFP 8. The functionality that was previously in
this method is now located in the BindControls_Assign method of this class.
". (quoted from www.F1Tech.com )
Did you upgrade the VFE project to VFE 7.5 as well ? I would like to learn
from your experience.
Matthew
> Hum, so I made NO code changes and just recompiled my (VFE app) under VFP 8.0 and now am having endless errors - seems like it would be VFP not the
application that has the problems - unless what you are telling me is things
that use to work fine don't because VFP has been improved?
Jerry,
I agree with all that Fred has wriiten, and would only add that I've also found that many times C5 errors can be caused by limited memory - especially in Win 9x machines. I'd consider 128MB minimal for a "normal" sized VFP 8.0 app, and more if the user has ANY other major apps running. e.g. Outlook, Word, Excel.
Rick
> Hi All,
>
[quoted text clipped - 12 lines]
> Thanks,
> Jerry Rodgers