I am trying to use a Dynamic array that gets created by WSDL import.
The structure that the import utility creates is:
class permissionrecord : public TRemotable {
private:
WideString Fpermission;
public:
__published:
__property WideString permission = { read=Fpermission,
write=Fpermission };
};
typedef DynamicArray<permissionrecord*> permissions;
When i receive data via the SOAP server, I can read it.
When I need to send data back to the server using this structure, I am
not able to write data into the structure.
Is there anyone who can give me a clue how to use this structure by
creating a new instance, and adding data.
I am stuck on this one for 5 days, and can't figure it out.
Thanks
You will find people familar with C++ Builder in newsgroups where that
product is covered. Each of those groups has the word 'cppbuilder' in its
name. Try posting your question in one of those groups.
permissions PermissionArray;
...
permissionrecord *record = new permissionrecord;
record->permission = "...";
...
PermissionArray.Length = PermissionArray.Length + 1;
PermissionArray[PermissionArray.High] = record;
...
Thanks
Ed Mulroy [TeamB] schreef: