Yes, I was asking how to do it in Managed code.
I have a way that I got to work, but I am not sure its the prefered way. I am using a FileStream and the BinaryWriter.Write method. But the binary writer write method does not take a unsigned long so I cast it to be _int32. Do you think this works? What would you recommend? I have an array of unsigned longs to write, but when I did an array write, it was writing bytes insead of longs. Is there a way to write an array of unsigned longs from Managed C++, or should I iterate over the array and write each element?
thanks
Bryan