[info-performer] pfMemory allocation

New Message Reply Date view Thread view Subject view Author view

From: Dr. Ganagi (ganagi++at++virtuale3d.com)
Date: 02/07/2003 06:35:25


Hi,

In our application, new pgGeoSets are created. For some attributes, we are
able to allocate memory in the sharedArena using following statement.

coords = (pfVec3*)pfMalloc(1000*sizeof(pfVec3), pfGetSharedArena());

Next allocating memory to indices using following statement, the app. is
crashing without any error message.

indexSet = (ushort*)pfMalloc(100*sizeof(ushort), pfGetSharedArena());

Has anybody encountered such problems and solved them? If so, suggest the
solutions.

Thanks
Ganagi


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 06:38:16 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.