Deleting files and folders used by other processes on Windows

2007-07-18 Thread tkondal
Hi, I have been looking into making my file cleaning script more intelligent. The goal of the script is to delete everything on a drive except for a couple of folders which are skipped by the script. Recently, I noticed that some files where not being deleted because a process was using them. Is

Deleting files and folders used by other processes on Windows

2007-07-17 Thread tkondal
Hi, I have been looking into making my file cleaning script more intelligent. The goal of the script is to delete everything on a drive except for a couple of folders which are skipped by the script. Recently, I noticed that some files where not being deleted because a process was using them. Is

Re: Having trouble using CTypes with a custom function

2006-10-04 Thread tkondal
Hi Chris. I know that it is easy to fix the problem using C++. However, I do not want to code a wrapper DLL. I was wondering if there was a workaround with Python. Everything has to be done in Python as we do not have the tools for C++ (and we are not planning on getting any). Thanks. Chris Me

Re: Having trouble using CTypes with a custom function

2006-10-04 Thread tkondal
Would you have any example of a wrapper for such data types? Thanks. Chris Mellon wrote: > On 4 Oct 2006 11:18:16 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all. > > > > I just started looking at Python's ctypes lib and I am having trouble > > using it for a function. > > > > For

Having trouble using CTypes with a custom function

2006-10-04 Thread tkondal
Hi all. I just started looking at Python's ctypes lib and I am having trouble using it for a function. For starters, here's my Python code: from ctypes import*; myStringDLL= cdll.LoadLibrary("myStringDLL.dll"); GetMyString = getattr(myStringDLL, "?GetMyString@@[EMAIL PROTECTED]@[EMAIL PROTECTE