RE: Coldfusion and COM Limitations

2002-05-31 Thread Philip Arnold - ASP

 We have a site which we are considering moving to CF from
 ASP. The site makes extensive use of COM objects so I wondered
 if they could be *easily* re-used. Does anyone know any
 restrictions/limitations or any other gothcas which could
 cause a problem?

This REALLY depends on your version of ColdFusion

CF4.5's COM support was pathetic at best
CF5's is a lot better, but still not perfect
CFMX's is meant to be almost as good as you can get

It also depends on what you want to call

In CF4.5 you can't call Methods that take parameters
In CF5 you can only call these in a limited way (and you have to know
the translation values for some defaults)
Not sure on CFMX as I haven't loaded it yet g

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Coldfusion and COM Limitations

2002-05-31 Thread Dave Watts

 CF4.5's COM support was pathetic at best
 CF5's is a lot better, but still not perfect
 CFMX's is meant to be almost as good as you can get

I'd dispute that. I've run several COM apps that worked with CF 4 and 5 (and
even CF 3!) on CF MX, and some work while others don't. CF MX uses a
third-party COM interface for Java, JIntegra. I suspect that it has some
limitations. 

 It also depends on what you want to call
 
 In CF4.5 you can't call Methods that take parameters
 In CF5 you can only call these in a limited way (and you have to know
 the translation values for some defaults)
 Not sure on CFMX as I haven't loaded it yet g

I don't think this is an accurate representation; I think you can call
methods that take parameters in CF 3 and newer versions, as long as those
parameters can be represented as strings or Variants. That hasn't changed
much in newer versions, either.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Coldfusion and COM Limitations

2002-05-31 Thread Dave Watts

 We have a site which we are considering moving to CF from ASP. 
 The site makes extensive use of COM objects so I wondered if 
 they could be *easily* re-used. Does anyone know any 
 restrictions/limitations or any other gothcas which could 
 cause a problem?

Yes, unfortunately, there are many problems that could occur. COM support in
CF has never come close to that in ASP. CF can't handle object hierarchies
well (you have to create pointers to each hierarchy level in CF 5 and
earlier, I think), it can't deal with certain COM datatypes, it doesn't
support all of the functionality of MTS (which is often used in
well-architected ASP sites).

Now, that all being said, this doesn't mean that your site won't be able to
use CF. It does mean that you'll need to test each COM object from CF, which
shouldn't take very long.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Coldfusion and COM Limitations

2002-05-31 Thread Philip Arnold - ASP

 I'd dispute that. I've run several COM apps that worked with
 CF 4 and 5 (and even CF 3!) on CF MX, and some work while others
 don't. CF MX uses a third-party COM interface for Java, JIntegra.
 I suspect that it has some limitations.

True, I should have put As good as they've got - it's better than
previous versions, but FAR from perfect...

 I don't think this is an accurate representation; I think you can call
 methods that take parameters in CF 3 and newer versions, as long as
those
 parameters can be represented as strings or Variants. That hasn't
changed
 much in newer versions, either.

In CF4.x I couldn't get methods with parameters to work at all, they
work better in CF5, but still not perfect, I never tried in CF3, so I
can't comment on that

Simple things like .replace() just wouldn't work in CF4.5 for me

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Coldfusion and COM Limitations

2002-05-31 Thread Kola Oyedeji

Thanks for the feedback

I've never used COM so I'm hoping it wont be too much trouble.
Is it true that once the object is loaded in memory it can be destroyed
from CF?

Kola

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] 
Sent: 31 May 2002 14:22
To: CF-Talk
Subject: RE: Coldfusion and COM Limitations

 I'd dispute that. I've run several COM apps that worked with
 CF 4 and 5 (and even CF 3!) on CF MX, and some work while others
 don't. CF MX uses a third-party COM interface for Java, JIntegra.
 I suspect that it has some limitations.

True, I should have put As good as they've got - it's better than
previous versions, but FAR from perfect...

 I don't think this is an accurate representation; I think you can call
 methods that take parameters in CF 3 and newer versions, as long as
those
 parameters can be represented as strings or Variants. That hasn't
changed
 much in newer versions, either.

In CF4.x I couldn't get methods with parameters to work at all, they
work better in CF5, but still not perfect, I never tried in CF3, so I
can't comment on that

Simple things like .replace() just wouldn't work in CF4.5 for me

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Coldfusion and COM Limitations

2002-05-31 Thread Zac Spitzer

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Kola Oyedeji wrote:

|Thanks for the feedback
|
|I've never used COM so I'm hoping it wont be too much trouble.
|Is it true that once the object is loaded in memory it can be destroyed
|from CF?

yeah just set the com object to something else

ie a com object is called com_object1

cfset com_object1= kills it

z
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6-2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iEYEARECAAYFAjz3gy4ACgkQm98oI6K7h0hWoQCcDpTYb26cMfLsMfMhFqOWPN+c
QN8An395/RsJ0p/Zwbhd7ajnhPzentXp
=dJ+a
-END PGP SIGNATURE-


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Coldfusion and COM Limitations (Test Results)

2002-05-31 Thread Joe Bastian

From Macromedia documention (ColdFusion MX - Migrating ColdFusion 5
Applications)

Marcomedia has admitted calling COM Objects to be slower in CFMX cause they
use JNI. Macromedia tests results for calling COM Objects were

ColdFusion 5 completed = 50 Milliseconds
ColdFusion MX completed = 2-3 seconds.

Joe

- Original Message -
From: Philip Arnold - ASP [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, May 31, 2002 9:22 AM
Subject: RE: Coldfusion and COM Limitations


  I'd dispute that. I've run several COM apps that worked with
  CF 4 and 5 (and even CF 3!) on CF MX, and some work while others
  don't. CF MX uses a third-party COM interface for Java, JIntegra.
  I suspect that it has some limitations.

 True, I should have put As good as they've got - it's better than
 previous versions, but FAR from perfect...

  I don't think this is an accurate representation; I think you can call
  methods that take parameters in CF 3 and newer versions, as long as
 those
  parameters can be represented as strings or Variants. That hasn't
 changed
  much in newer versions, either.

 In CF4.x I couldn't get methods with parameters to work at all, they
 work better in CF5, but still not perfect, I never tried in CF3, so I
 can't comment on that

 Simple things like .replace() just wouldn't work in CF4.5 for me

 Philip Arnold
 Technical Director
 Certified ColdFusion Developer
 ASP Multimedia Limited
 Switchboard: +44 (0)20 8680 8099
 Fax: +44 (0)20 8686 7911

 www.aspmedia.co.uk
 www.aspevents.net

 An ISO9001 registered company.

 **
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the system manager.
 **


 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Coldfusion and COM Limitations

2002-05-31 Thread Dave Watts

  I've never used COM so I'm hoping it wont be too much trouble.
  Is it true that once the object is loaded in memory it can be 
  destroyed from CF?

 yeah just set the com object to something else
 
 ie a com object is called com_object1

 cfset com_object1= kills it

Unfortunately, this doesn't always work, so you'll need to test with the
specific platform (Windows version  CF version) and COM objects.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
phone: 202-797-5496 
fax: 202-797-5444
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Coldfusion and COM Limitations (Test Results)

2002-05-31 Thread Philip Arnold - ASP

 From Macromedia documention (ColdFusion MX - Migrating ColdFusion 5
 Applications)

 Marcomedia has admitted calling COM Objects to be slower in
 CFMX cause they use JNI. Macromedia tests results for calling
 COM Objects were

 ColdFusion 5 completed = 50 Milliseconds
 ColdFusion MX completed = 2-3 seconds.

That's really funny - when Jeremy was over in the UK, I complained about
how pathetic the COM implementation was, and they said it was the best
they've had

Might be slow, but still could be the most powerful - yet to test it to
it's limit...

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Coldfusion and COM Limitations

2002-05-31 Thread Philip Arnold - ASP

 I've never used COM so I'm hoping it wont be too much trouble.

COM, not too much trouble? HAHAHAHAHAHAHA!

Sorry... Haven't had such a good laugh in ages

COM can be a nightmare at times - don't go in thinking that it's going
to be an easy process - if the COM object doesn't expost it's properties
and methods cleanly, then you'll have major problems...

Then again, as long as you're doing really simple things, they can work
really well and can be surprisingly clean

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Coldfusion and COM Limitations

2002-05-31 Thread Kola Oyedeji

Well 

Perhaps I'll re-write it with cfcs instead!!

Kola

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] 
Sent: 31 May 2002 15:09
To: CF-Talk
Subject: RE: Coldfusion and COM Limitations

 I've never used COM so I'm hoping it wont be too much trouble.

COM, not too much trouble? HAHAHAHAHAHAHA!

Sorry... Haven't had such a good laugh in ages

COM can be a nightmare at times - don't go in thinking that it's going
to be an easy process - if the COM object doesn't expost it's properties
and methods cleanly, then you'll have major problems...

Then again, as long as you're doing really simple things, they can work
really well and can be surprisingly clean

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists