>I've been trying to fix this C0000005 fatal error for 1 week know, I never got the error at development time but when I created my distributable disks and installed the application in users machines, it showed up.
>
>After It starting showing up intermitently I was reading and trying a lot of stuff in the UT.
>
>Some of the stuff I tryed is installing VS SP1, NT SP4, and other things like ON SHUT CLEAR EVENTS.
>But just until today i figured what is causing my problem, If I start the runtime version with the screen off, when my main form comes up I crash getting the fatal error, so in case this is happening to somebody, try to start the application with screen = ON or _VFP5.SCREEN.VISIBLE = .T..
The error you describe is caused by DCOM not being properly installed on the user's machine. It is most commonly seen under Win95; it can also happen under NT or Win98 under rare circumstances where DCOM gets hosed. Take a look in the FAQ here for a destailed description of this particular C0000005 error, a method to detect when it's going to occur, and how to fix by installing DCOM support using the proper sources for each O/S.