Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters by reference
Message
De
20/01/2004 11:57:46
 
 
À
20/01/2004 11:49:13
Information générale
Forum:
ASP.NET
Catégorie:
SOAP
Divers
Thread ID:
00866747
Message ID:
00868587
Vues:
18
>In .NET, with the built in functionality, you don't have to specify referenced variables as they are by default considered as is. In MSSoap with VFP, you have to do the usual thing such as:
>
>
>loWebService.MyMethod(lcFirstVariable,@lcFirstVariableByRef,lcSecondVariable,@lcAnotherByRefVar)
>
So, you can still get at your ByRef parameters with no problem in VFP. That was what I wasn't sure about, because I wasn't sure why you were having problems with the WebService you're trying to use. I guess they're just doing something non-standard, eh?

BTW, sometimes in .NET, you still have to specify that a parameter is passed by reference. If it's something that gets instantiated in the called method, you lose the pointer to it in the calling method unless you've specifically passed it by reference (there was a thread about that here somewhere).

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform