Copy link to clipboard
Copied
We use the FSO com object for just a few items, mostly for getting a recursive directory size on huge directories. Come to discover that, as has been posted, Adobe is not supporting COM objects on the 64-bit install of CF. I am far from understanding the complexities of this issue and why this has changed ... in other words why functionality has been taken away from what should be the latest and greatest. I'm hoping that there is another option out there that does not involve running parallel 32-bit servers or using .NET or the like. We are a CF shop and as it is it is hard enough convincing users that CF is just as good or better than other languages. This setback doesn't help me at all.
S
Copy link to clipboard
Copied
Hi Scott
Sorry for the bad news, but CF 9 x64 still has no COM support. I feel your pain.
Copy link to clipboard
Copied
Is anyone able to shed light on when this might happen?
Copy link to clipboard
Copied
Hi Scott,
Not sure when that might happen but I was thinking that you may want to see if you can find a simple Java Library that does what you want and works in 64bit. I am sure there are several though I have not looked before posting this. In the event you find one you should just be able to load it into cf and use it natively.
Using Java libraries are no more difficult than creating a CF object and using it. Often times it turns out that using a Java Library is easier than using native Com objects because often some of the complexities are abstracted out or there are already additional utilities that add functionality you would have normally built in ColdFusion.
-Joe
Copy link to clipboard
Copied
Thanks for the thought Joe, generally these are COM objects released by a vendor for CF use and have no alternatives. API integrations, etc. I'll keep the Java in the back of my mind.
Copy link to clipboard
Copied
Understood but if you are trying to work with the FileSystemObject I would still consider it if you cannot find an alternative.
I think Scriptom which is a module designed for Groovy might have what you need. They do have a 64bit version and it does have FSO access. However I have never tried to use Groovy libraries in CF so not sure exactly what the results might turn out like.
It might actually be kind of interesting to use Groovy syntax within CF.
Copy link to clipboard
Copied
This is old but might be of some use if you actually try it.