I am having a problem with the ReadFile function. Here is the code:
int size1 = GetFileSize( hfbm, NULL );
for( int i = 0; i < size1; ++i ) {
int dummy;
if( ReadFile( hfbm,...
Type: Posts; User: dpkeller
I am having a problem with the ReadFile function. Here is the code:
int size1 = GetFileSize( hfbm, NULL );
for( int i = 0; i < size1; ++i ) {
int dummy;
if( ReadFile( hfbm,...
I want to write data to a file one byte at a time. I am having a problem that for some reason the write function is writing 2 bytes instead of one. Here is the code.
int begin, end, dummy;
...