Hi,
I want to pass a string array by ref to dot net method in InstallScript project.
C# code:
InstallScript code:
When I call the method from InstallScript, I get the following error message:
"The parameter is incorrect"
How can I pass string array by ref?
Thanks,
Ayelet.
I want to pass a string array by ref to dot net method in InstallScript project.
C# code:
Code:
public string[] GetSubscriptions(string securityToken, out string[] subscriptionIDs)
Code:
prototype LIST GetSubscriptions(string, BYREF LIST);
function LIST GetSubscriptions(inSecurityToken, outSubscriptionIDs)
object XMPieInstallerHelpersObject;
LIST retVal;
begin
...
retVal = XMPieInstallerHelpersObject.GetSubscriptions(inSecurityToken, outSubscriptionIDs);
......
When I call the method from InstallScript, I get the following error message:
"The parameter is incorrect"
How can I pass string array by ref?
Thanks,
Ayelet.