We have a Windows application (.net, VS2010) that uses the old wrapped activeX control (VSPrinter 8 from ComponentOne, to be precise. Vsprint8.ocx). It handles all our print and print previews. When we deploy and run our application in a new instance of Win7 on a virtual machine (32 bit) and do what tries to call this control, we get the following error:
"Trying to read or write protected memory. This often indicates that the other memory is corrupt."
It works great on Windows XP. Interestingly, if we disable DEP on the target virtual machine (network-wide, install AlwaysOff), the application works. But if we disable DEP only for an executable that uses ocx, this will not work.
Any ideas? Thanks!
source share