does anyone know if the Marshal class is available on the xbox360, specifically the AllocHGlobal method.
Unfortunately I don't have access to an xbox right now, otherwise I would test it myself!
Basically I want to be able to allocate unmanaged memory myself, ie. this piece of code should work:
IntPtr ptr = Marshal.AllocHGlobal(10000);
void* v = (void*)ptr.ToPointer();
byte* b = (byte*)v;
b = 1;
b = 3;
If anyone is in a kind mood and has access to an xbox and an XNA creators club subscription, you can stick that piece of code into the update method of your game and see if it works.
No, you can't.