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
JR "Bob" Dobbs - 29 Feb 2008 21:39 GMT
<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