Hey all, I need to be able to access the methods in a COM object. Has anyone
done this?


>From my OLE/COM Object Viewer I have:


ProgID = PCMServer.PCMServer.1


and


PCMServer.PCMServer.1 = PCMServer Class


In my code I have


<cfobject action="" type="COM" class="PCMServer.PCMServer.1"
name="miler">
    <cfdump var=" #miler#">


When I do this I get the following error message:
java.lang.NoSuchMethodException: There is no method called Item.


When I leave the cfdump tag off, I get no error messages. Which leads me to
believe that I am connecting to the object with the correct name, because I
recieve no error message.

When I change the class to something like "aPCMServer.PCMServer.1" I get the
following message: coldfusion.runtime.com.ComObjectInstantiationException:
An exception occurred when instantiating a Com object


How the heck can I look at what comprises the COM object from the CF-side
when the cfdump tag errors out. I cannot simply Output the object because it
is a complex data type.


Any help would be greatly appreciated.


TIA


John Stanley



[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to