I'm dealing with COM objects more and more lately..

Here's my problem..    The Com object(objOnHand) has a method with
parameters that point to  variables which we would later be able to use in
Visual Basic..

VB Code Snippet
---------------------------
objOnHand.AuthorizeEx strAuthenticationcode, strErrorInfo, strIsApproved
---------------------------
This allows us to Use the variables strAuthenticationcode, strErrorInfo, and
strIsApproved
in any code following.


Malfunctioning Corresponding CF Snippet
-------------------------------
<cfscript>
  //Call the AuthorizeEX function
  hresult=objOnHand.AuthorizeEx("strAuthenticationcode", "strErrorInfo",
"strIsApproved");
</cfscript>
-------------------------------
The problem..  is I am unable to use the return variables as I doubt that
I'm passing them correctly.  The COM object executes..  with no return
variables.
Also, a cfdump of #hresult# yields an, Undefined variable error.

I was thinking that Hresult would be a collection that I can loop over for
the return values..  but that doesn't seem to be the case.

Any Ideas on how I can get these values out of the com's instance space?

-Zine

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to