Hi,
I’m using win32ole to automate use of Microsoft Office Document Imaging
(MODI), on Windows Vista. There seems to be problems with getting MODI
to release files that it works with. I.e., calling Close on the MODI
object doesn’t necessarily release the file to other processes
(attempting to delete it gives me an Errno::EACCESS error). A web search
shows that this is a common issue, and the main suggestion in other
languages is to use
System.InteropServies.Marshal.ReleaseComObject(object)
for each object that needs to be released. Do we have access to this
method in Ruby? Or does anyone know another way to deal with this?
Thanks,
Farmer.