Thanks- but is that attempting to delete a dll? Is there a less-invasive way of detecting a dll in use?
Is there a way I can find out which application(s) are using the DLL, so I put that information in a dialog box? These dlls are general purpose and can be used by many applications written by people where I work. On Thu, Apr 8, 2010 at 1:05 AM, niki <n...@vintech.bg> wrote: > Tony Cappellini wrote: >> >> I need to write a program which copies some dlls from one location to >> another. However, if any applications which use these dll's are >> running, >> Windows won't let the dll copy complete, until the apps which have the >> dlls loaded have terminated. >> I'm looking for a way to scan/probe to see if any apps are running >> which have these dll's loaded. >> How would I go about this with Python ? > > test = win32file.CreateFile(f, win32con.DELETE, 0, None, > win32con.OPEN_EXISTING, 0, None) > > HTH > > Niki > _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32