Hi
I have a tricky issue in my VFP7 application. At least tricky for me.
The application is crashing with fatal error C0000005. Sometimes I see a message like this one in the eventlog: "Faulting application <appname>.exe, version 1.4.82.0, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x00010f29.". Sometimes the application just hangs. I also see the Windows error "The instruction at "0x...." referenced memory at "0x.....". The memory could not be "read"", and then the application is closed, of cource.
The error does only appear in situations where I print, but it does not occur in an exact pattern, or when I pass a particular code line. I use a third party dll called foxpp.dll (fox power printer) to get my "hands" on the windows printernames and properties. (I don't think the supplier exists anymore ). Since the crash does not occur when i run a particular line of code, and even sometimes when i close a window, it is hard to tell the exact reason. I am suspecting the printer dll, but it might also be other reasons. Does anyone know of a tool (or a method) to find the point where the illegal memory access occurs
The error seems to appear more often after a couple of consecutive prints. So I am thinking that a "reset" of the print objects (the loaded dll) might be a way to reduce the problem, if not removing it. Any hints how to do this "reset" in a good way
Helpful hints are highly appreciated on this "blurred" question :-)
Best regards, Endre