> > Doesn't HeapAlloc work on any 'Win32' platform? > > I want to avoid calling heap allocation functions. > Using alloca() is slightly lighter. Please don't do that. It uglifies the code, and makes it less reliable. alloca() is lighter but it's on the stack, and I really doubt that yoy can measure the difference anyway. -- Dimi.