Skip to Content
0
Former Member
Feb 07, 2011 at 01:02 PM

Error "Attempted to read or write protected memory"

450 Views

When I started using Microsoft Visual 2008, he began appearing this error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt" and not know what could be.

To debug the program the error occurred after executing the line:

objBP = (BusinessPartners)objCompany.GetBusinessObject(BoObjectTypes.oBusinessPartners)

Does anyone know what might cause this error?