AnsweredAssumed Answered

malloc returns 0 in VDK

Question asked by MOHOMAX on Sep 30, 2010
Latest reply on Sep 30, 2010 by MOHOMAX

Hello all,

 

I wrote an stand alone application which uses malloc function to create dynamic lists. List size os not big. 10 items 8 bytes each. Everything works fine. But then I set up VDK and I got n error. Malloc now returns 0. So I can not create dynamic lists. I use VDK first time and I suppose that it is usual problem for begginers. But I could not find an answer in the internet.

Readed help I decided to use "heap_malloc" function. I got an example from VDSP help but it also returns NULL. I suppose that problem is somewhere in heap setting up but I could not find heap initiation in VDK. Can anybody give me some help with that problem?

Outcomes