W
WTH
I have a C# webservice that returns an array of struct data back to a
calling client.
It works fine when tested via the ASMX page; however, I don't know how to
make the call to this particular method from C++.
If my web method is declared as:
public MyStruct[] GetData()
and returns back a web service allocated array of structs, how do I call
this from C++?
Intellisense tells me that the signature (to C++) is:
GetData( MyService::MyStruct** GetDataResult, int* GetDataResult_nSizeIs )
How am I supposed to be declaring the C++ local variable I want the results
returned in?
Am I supposed to pre-allocate an array of structs to receive the data?
Am I supposed to supply an array of struct pointers and then I'm responsible
for releasing them?
I am having a hard time finding documentation on this...
Thanks,
WTH
calling client.
It works fine when tested via the ASMX page; however, I don't know how to
make the call to this particular method from C++.
If my web method is declared as:
public MyStruct[] GetData()
and returns back a web service allocated array of structs, how do I call
this from C++?
Intellisense tells me that the signature (to C++) is:
GetData( MyService::MyStruct** GetDataResult, int* GetDataResult_nSizeIs )
How am I supposed to be declaring the C++ local variable I want the results
returned in?
Am I supposed to pre-allocate an array of structs to receive the data?
Am I supposed to supply an array of struct pointers and then I'm responsible
for releasing them?
I am having a hard time finding documentation on this...
Thanks,
WTH