Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cold Fusion, VFP COM and passing by reference
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00729957
Message ID:
00730267
Vues:
17
For lurkers, see Re: TYPE a Parameter as Reference Message #730254 for solution.

>Can any one suggest why I can pass a variable by reference to a VFP COM object Method and have the variable value changed correctly in VFP, but when I try to perform the same thing in Cold Fusion the variable is not changed. There is no error, but the variable is not changed. Here is the Cold Fusion Code:
>
><cfobject action="create" class="MWSProcessObj.RMController" type="com" name="oRMController">
><cfset lnRtn = oRMController.Set_Up_Environment(cXML)>
><cfset lnRtn = oRMController.MarshallData(loGetUserRs,"oUser")>
><cfset lcXMLValidation = "B">
><cfset lnRtn = oRMController.Save("lcXMLValidation")>
>
><cfoutput><h1>#lcXMLValidation#</h1></cfoutput>
>
>
>lcXMLValidation still shows 'B'.
>
>Any suggestions or help would be appreciated
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform