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

Unix: Any support for creating com objects?

New Here ,
Feb 29, 2008 Feb 29, 2008

Copy link to clipboard

Copied

I'm looking into migrating a CF 8 server from Windows to Unix. I see in the documentation for CreateObject that com objects are not supported on Unix, "Note: On UNIX, this function does not support COM objects."

Obviously, this won't work on Unix: Note:
<cfset image = CreateObject( 'com', 'ImageStoreCom.Image' )>

But what about this, can I create a remote com object?:
<!-- assume '172.0.0.1' is a windows machine with a registered com object on it -->
<cfset image = CreateObject( 'com', 'ImageStoreCom.Image', 'remote', '172.0.0.1' )

Finally, if the example above is out of the question, are then any techniques for exposing a com object to CF on a Unix box? I'm wondering if maybe I could write a Java wrapper for the com object and expose it that way?

Thanks for your help,
DJ
TOPICS
Advanced techniques

Views

273

Translate

Translate

Report

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
Advisor ,
Feb 29, 2008 Feb 29, 2008

Copy link to clipboard

Copied

LATEST
<ShotInTheDark>You might try wrapping your COM object in a .NET class then accessing your .NET class remotely.</ShotInTheDark>
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=dotNet_02.html#1160020

Votes

Translate

Translate

Report

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
Documentation