Intrafoundation Software
Making Atomic Warfare Fun Again
 

Need a shoulder to cry on while trying to convince Windows to properly work with our software? Just want to chat about something related to the site? Feel free to use the forums slash news slash blog.

(Unsolicited commercial spam will be deleted, obviously.)

[Looking for something?]
Looking for something?
This is thread 230. The complete list of threads is available on the main forums page.
Subject: CFX_IMageInfo leaving directory in use?
Author: Steve Hammonds
Date/Time: 9/24/2003 11:37:35 AM (230.0)
I have a template that loops over a directory structure and uses CFX_IMageInfo to retrieve information for the images in the directory. If the image height is greater than the width I cfexecute to irfanview and rotate the image. Then I move the file using cffile and delete the directory.

The problem is that I can`t delete the directory after it has been emptied, even manually. I get a sharing violation and I am told that the directory is in use. I have commented out portions of my code and am left to conclude that CFX_ImageINfo is somehow causing Cold Fusion to leave the directory in use. Restarting CF releases the directory and I can delete it. I checked CF administrator and I am am NOT keeping the CFX_IMageInfo library loaded.

We are running CF 4.5 and the server is Windows 2000 with IIS.

Any tips, comments??


REPLY
Author:
Subject:
Your
Message:
Email: (optional)
(Note: For safety all HTML in your message text may be printed exactly as you typed it.)
top