I found this technote in regards to using COM with CFMX. Apparently, there
is a utility called com2java.exe which helps correct some issues.
Unfortunately, it refers to another technote on how to use it which comes up
blank!

Can someone from MM help? Specifically I need to know where to place the
stub files and if I need to register them somehow for CF to use them.

See below.


Access to Component Object Model (COM) objects

ColdFusion MX includes a utility, com2java.exe, that creates Java stub files
for COM objects. ColdFusion can use Java stub files to access COM objects
more efficiently than when the cfobject tag or CreateObject tag creates the
connection to the objects directly. Also, you must generate Java stubs to
correctly access complex COM objects that do not properly make all their
features available through the COM IDispatcher interface.

If you create Java stub files for a COM object, you do not have to change
your ColdFusion code. You continue to use the cfobject tag with a type
attribute value of COM or the CreateObject function with a first argument of
COM, and you access the object properties and methods as you normally do for
COM objects in ColdFusion.

For instructions on how to create Java stub files for COM objects, see
Technical Brief 22922.



______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to