Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / September 2007



Tip: Looking for answers? Try searching our database.

MX 7 CFObject multiplying returned value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ikim1234 - 18 Sep 2007 01:06 GMT
I've upgraded our customer's ColdFusion server from 4.5 to MX 7.  It utilized a
custom COM object (written in C++) which when called, returns a value.  This
worked under ColdFusion 4.5, and still works when used from .NET and VB
application.  However, now when called from ColdFusion MX 7 using cfobject tag,
it returns value multply by 10000.  So for $2.50 it return $25000.00.

I never had such a weird issue, as ColdFusion is really good at backward
compatibility.  This isn't isolated to one computer, it's EVERY SERVER we
upgraded to MX 7.  Any ideas what's going on?  To me, it appears to be a
ColdFusion MX 7 bug.  Maybe a casting issue now that ColdFusion is written
using Java?
GArlington - 18 Sep 2007 15:11 GMT
> I've upgraded our customer's ColdFusion server from 4.5 to MX 7.  It utilized a
> custom COM object (written in C++) which when called, returns a value.  This
[quoted text clipped - 7 lines]
> ColdFusion MX 7 bug.  Maybe a casting issue now that ColdFusion is written
> using Java?

It may be something to do with:
1) Data Alignment - see http://msdn2.microsoft.com/en-us/library/aa505951.aspx
2) Byte order
3) Big/small endian concept
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.