Custom COM Objects in ColdFusion

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
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dariusz DziaraProgrammerCommented:
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.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.