V
volx
Hello all:
What is the proper way to implement in MC++ a web service which accepts
a multi dimensional array as a parameter to one of its methods?
This does compile:
[System::Web::Services::WebMethod(Description="Test 2D arrays")]
double pass2DArray(Double array __gc[,]);
but accessing the .asmx servcie produces:
"System.InvalidOperationException: Multi-dimensional arrays are not
supported. Use a jagged array instead."
Trying to use jagged array like this:
[System::Web::Services::WebMethod(Description="Test 2D arrays")]
double pass2DArray(Double array __gc[][]);
results in compilation error:
"error C2691: 'double __gc[]' : invalid type for __gc array element".
I am using this together with the MS WebServices Toolkit 2.01 hence
cross posting to the VBA group.
Microsoft Visual C++ .NET 69462-005-7997287-18829
Thanks,
V.
What is the proper way to implement in MC++ a web service which accepts
a multi dimensional array as a parameter to one of its methods?
This does compile:
[System::Web::Services::WebMethod(Description="Test 2D arrays")]
double pass2DArray(Double array __gc[,]);
but accessing the .asmx servcie produces:
"System.InvalidOperationException: Multi-dimensional arrays are not
supported. Use a jagged array instead."
Trying to use jagged array like this:
[System::Web::Services::WebMethod(Description="Test 2D arrays")]
double pass2DArray(Double array __gc[][]);
results in compilation error:
"error C2691: 'double __gc[]' : invalid type for __gc array element".
I am using this together with the MS WebServices Toolkit 2.01 hence
cross posting to the VBA group.
Microsoft Visual C++ .NET 69462-005-7997287-18829
Thanks,
V.