file-handles

How can you get a DLL to be deleted when its owner process exits?

I have a .NET assembly DLL that is created on-the-fly from pre-compiled code in a database. Is there a way to create the DLL file, put data into it, load it with the Assembly class, then when the process exits, have that DLL be deleted? My first thoughts were to open it with the FILE_SHARE_DELETE flag, load it with Assembly.LoadFrom, an...

Enumerating all open file handles and/or registry handles in Windows Mobile / Windows CE 5.x

Hi all, Is there a way to enumerate all open file handles and/or registry handles in Windows Mobile 5 / Windows CE 5.x? In particular, I'd like to get the handles for all processes in the system, and not just the ones for my application. This would be similar to the list of handles in Sysinternals's Process Explorer for Win32 or Sysin...

GlassfishESB filebc component causes too many open file handles

Hello there, I have an Glassfish ESB based CASA app running in production system (Win 2k3) for sometime now. I have recently encountered a very strange file handles related issue. It so happened that I was unable to perform any file related operations from inside the prod server. My analysis lead me to using the tool called "OpenedFiles...

A problem with opened file handles...

Now I use Windows Media Player SDK 9 to play AVI files in my desktop application. It works well on Windows XP but when I try to run it on Windows 7 I caught an error - I can not remove AVI file immediately after playback. The problem is that there are opened file handles exist. On Windows XP I have 2 opened file handles during the playin...