'Memory' does not exist in current context. RRS feed

  • Question

  • In the Microsoft wave sample for C# ( ) Memory class is used. but in visual studio 2008 there is no reference to 'Memory' class or interface. Error is "The name 'Memory' does not exist in current context.". I can`t find any reference for this class.

                if (lpData == IntPtr.Zero)
                    lpData = Memory.LocalAlloc(Memory.LMEM_FIXED, (uint)bufferLength);

    Please help me to use this sample.

    Friday, July 12, 2013 9:32 AM


All replies