G
Guest
I'm trying to implement a class that writes blocks of data asynchronously to disk. Each block is an array of ulongs. I tried to use the standard beginwrite functions, but apparently they only support byte arrays. Due to the nature of my problem (huge amounts of data) it would be very cpu unfriendly to convert all the ulongs to bytes.
Therefore I switch to the native methods( WriteFileEx) but I got in trouble dealing with the overlapped structure and the callback routines. Does anybody know if there's some good c# example on how to deal with these.
Thanks for helping me out !
Tom
Therefore I switch to the native methods( WriteFileEx) but I got in trouble dealing with the overlapped structure and the callback routines. Does anybody know if there's some good c# example on how to deal with these.
Thanks for helping me out !
Tom