"Not all data is passed by value...."

yeah, I meant passed to the com object method by value which is how I 
understand that data to be passed. You are correct that I'm not passing queries 
or structs, just strings to com object methods.

"Well, CF doesn't handle COM objects especially well, in my opinion."

You don't say :-) As I mentioned earlier, I noticed some problems a few years. 
At that time I reduced my code to the most basic possible call to this com 
object and I nailed down that having url and form variables with the same names 
as the com object's "setField" methods caused problems. That just blew my mind. 
How could the com object and coldfusion variables possibly be colliding in any 
way. Now I see that multiple dynamically named variables scoped variables are 
also being created. (by the way, who's smart idea was it to call it "variables" 
scope).

"If you're using a single COM object a lot, you might consider replacing it 
with an analogous object in Java or CF."

I started looking into some other options. The dll was supplied by a vendor for 
make calls to their software's api and secure database. Not sure if I can 
rewrite it but a call it in a different way in java would help I'll definitely 
pursue that.

"The "native thread" message doesn't sound like a memory leak problem to me, 
but I wouldn't be at all surprised if you do encounter memory leaks in CF when 
using COM."

I haven't been able to find much info online about that error message, mainly 
google just happened to index a couple dozen cf sites with the same error. I'll 
double check my code to be sure I'm not messing up a lock somewhere which I 
suspect could lead to threads building up and eventually causing errors.

Thanks for the input. I'll post some code next week when I have access to it. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304290
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to