Strange behaviour with IVFSSTRUCTCONTAINER_AddChild | developer.brewmp.com Strange behaviour with IVFSSTRUCTCONTAINER_AddChild | developer.brewmp.com

Developer

Strange behaviour with IVFSSTRUCTCONTAINER_AddChild

Forums:

Hi,
this is a query on actors.
I have a linked list of data and I iterate using a while loop in createchild method.
(the list contains, name, phone number, email id, city, state information)

now when I iterate through "while" loop, IVFSSTRUCTCONTAINER_AddChild is failing. but if i iterate through "for" loop the AddChild is success.

Also If I RELEASE the container using IVFSNODE_Release() each time in the loop then the system is crashing (both simulator and phone) , But if i DONT RELEASE the container, then IVFSSTRUCTCONTAINER_AddChild is failing and returning error code 26.

I tried to use IACTORCONTEXT_CreateCacheContainer() for arbitrary number of nodes, but could not find enough documentation.

can any one help?