title: "Attempted to read or write protected memory" error on Win7 - activeX control failure
body: <p>We have a windows application (.net, VS2010) that uses an old wrapped activeX control (VSPrinter 8 from ComponentOne, to be precise.  vsprint8.ocx). This handles all of our printing and print previews.  When we deploy and run our application to a fresh instance of Win7 on a VM (32 bit), and do something that attempts to invoke this control, we receive the following error:</p>
  
  <p>"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."</p>
  
  <p>It continues to work fine on Windows XP.  Interestingly, if we turn off DEP on the target VM (systemwide, set to AlwaysOff), the application works.  But if we turn off DEP on just the executable that uses the ocx, it doesn't work.  </p>
  
  <p>Any ideas?  Thanks!</p>