Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / February 2008



Tip: Looking for answers? Try searching our database.

Unix:  Any support for creating com objects?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
duffyjames - 29 Feb 2008 20:41 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.