[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Custom COM Objects in ColdFusion

Posted on 2006-04-19
Medium Priority
Last Modified: 2013-12-16
I hope you could help in this.
I write VC++ COM Automation objects. I have been writting them for ASP for a couple of years now.
I recently started using ColdFusion MX7.
I try to instanciate know good objects of mine and I get an Automation Error every time.

I can use MS COM Objects like FSO and others but I am not sure why my compiled COM objects don't work.
They work fine in ASP.
They are registered properly with regsvr32, but I am not sure if Cold Fusion needs a type lib or a proxy to call my COM Objects.

I some one could shed some light on ths I would be verry thankfull.

Send Me an email.

Micahel Penland
Question by:mgp66
1 Comment

Accepted Solution

mrblue earned 1000 total points
ID: 16523578
In the first place I've never used ColdFusion.

I have found that there are some requirements for COM objects used in CF.


Objects has to be thread safe (threading model "free" or "both") to work in MTA.

References to variables as method parameters should be placed in ""

Maybe there are some other requirements also ?

Have you checked error codes ?

This for example


states that "These components should allow late binding; that is, they should implement the IDispatch interface. "

And "Common Pitfalls of using COM objects with ColdFusion ":


Hope this will help a little.


Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question