1) Maybe you should add _O_BINARY to both _sopen calls
2) you are still using sizof(buffer) in your latest test code.
3) what is the value of lSize ??
4) what are the return values of the _sopen calls ?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 12 of 12
Threaded View
|
Click Here to Expand Forum to Full Width |