vdods
10-19-2006, 12:32 PM
I am having persistent trouble with my uiOne application requesting my actor class ID over and over via AEEMOD_CREATEINSTANCE. This happens 28 or so times before it stops (possibly due to running out of memory).
I have studied the program flow of the CircleActor example carefully and have verified that the same things are being done in my own code (taking extra care to note ref counts). The nature of the problem seems to indicate a ref count is being lowered to 0 somewhere, thus destroying some object. I have experimented around with adding extra IVFSNODE_AddRef calls in various appropriate places, but this does not correct the problem. What else can I try?
PS: QualComm, in order to make development with your products quicker and more fun, please either provide source code or decent documentation. Thanks!
I have studied the program flow of the CircleActor example carefully and have verified that the same things are being done in my own code (taking extra care to note ref counts). The nature of the problem seems to indicate a ref count is being lowered to 0 somewhere, thus destroying some object. I have experimented around with adding extra IVFSNODE_AddRef calls in various appropriate places, but this does not correct the problem. What else can I try?
PS: QualComm, in order to make development with your products quicker and more fun, please either provide source code or decent documentation. Thanks!