CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12

Threaded View

  1. #6
    Join Date
    Aug 2000
    Location
    West Virginia
    Posts
    7,725

    Re: C++ fwrite dosnt write to text file , have no idea why

    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 ?
    Last edited by Philip Nicoletti; September 1st, 2011 at 10:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured