0 Replies Latest reply on Aug 9, 2013 12:52 PM by ukgary

    coldfusion 9.0.1 .net compatibility, byRef

    ukgary

      I have a .net DLL, when using cfobject it only pulls through two of four methods. I can see the two that fail use ByRef, is that supported.

       

      ---- These are OK

      CompleteOrder(ByVal strDBKey As String, ByVal OrderId As Double) As pdaResult

       

      CreateOrderLine(ByVal strDBKey As String, ByVal OrderId As Double, ByVal Item As String, ByVal PackSize As Integer,
      ByVal Qty As Integer, ByVal Value As Double, ByVal CostCentre As String) As pdaResult

       

      -- These fail

      GetPrice(ByVal strDBKey As String, ByVal EMail As String,
      ByVal Item As String, ByRef ItemPrice As Double, ByRef ItemStatus As String,
      Optional ByVal PackSize As Integer = 0, Optional ByVal Qty As Integer = 1) As pdaResult

       

      CreateOrder(ByVal strDBKey As String, ByVal EMail As String,
      ByVal Address As String, ByVal PostCode As String,
      ByVal Reference As String, ByVal Notes As String,
      ByVal CostCentre As String, ByVal Delivery As Double,
      ByRef OrderId As Double, Optional ByVal PaymentRef As String = "") As pdaResult