With the respect to DataMiser's point, I've used following unmanaged methods to (de)allocate large amout of memory
Code:IntPtr p = Marshal.AllocHGlobal(size); Marshal.FreeHGlobal(p);
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Allocate disc spaceThreaded View
|
Click Here to Expand Forum to Full Width |