Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

COM Objects CF9 64-bit, Work arounds?

New Here ,
May 16, 2010 May 16, 2010

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

908
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 17, 2010 May 17, 2010

Hi Scott

Sorry for the bad news, but CF 9 x64 still has no COM support.  I feel your pain.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 25, 2010 Sep 25, 2010

Is anyone able to shed light on when this might happen?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 29, 2010 Sep 29, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 29, 2010 Sep 29, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 30, 2010 Sep 30, 2010

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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 30, 2010 Sep 30, 2010
LATEST

This is old but might be of some use if you actually try it.

http://www.barneyb.com/barneyblog/2008/06/06/cf-groovy/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources