sandr5
asked on
The memory could not be "read" issue
Hi everyone -
I have some printer code that I found on the net to query the status of a printer. Some of our users are experiencing an error where it says "The instruction at ... referenced memory at ... The memory could not be "read"." This doesn't happen everytime, just once in a while. I've isolated the problem to the printer status code. I was wondering if there are other resources to get some more information on this error like some log files or event messages available on the system to look at, or am I forced to run a debug version to isolate the exact line of code?
Thanks!
I have some printer code that I found on the net to query the status of a printer. Some of our users are experiencing an error where it says "The instruction at ... referenced memory at ... The memory could not be "read"." This doesn't happen everytime, just once in a while. I've isolated the problem to the printer status code. I was wondering if there are other resources to get some more information on this error like some log files or event messages available on the system to look at, or am I forced to run a debug version to isolate the exact line of code?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Didn't have time to check if it was one particular printer - I will have to keep that in mind for next time. Sometimes it can be hard to get useful technical information from users. At any rate, I did a hack temporarily to bypass the printer check based on a flag in a config file for those users experiencing the issues. It's a bandaid, but it works for now.
Thanks!