iostream Upgrade Problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Cheetham

    #1

    iostream Upgrade Problems

    Hi,

    I have had an old VS6 MFC application dumped on me and I am attempting
    to upgrade it to VS2005.
    I have a problem in that the filebuf::open command now only takes 2
    parameters instead of 3. The fianle parameter (the protection parameter)
    is no longer required.

    That's fine, and I can find that information in a number of places, but
    what I don't seem to be able to find is what I should do...
    I can remove the last parameter from all of my Open commands, but what
    about the protection level? Is there another way to specify this or is
    it just not required at all?
    (all of them seem to use filebuf::openpr ot)

    Thankyou


    Paul
  • David Wilkinson

    #2
    Re: iostream Upgrade Problems

    Paul Cheetham wrote:
    Hi,
    >
    I have had an old VS6 MFC application dumped on me and I am attempting
    to upgrade it to VS2005.
    I have a problem in that the filebuf::open command now only takes 2
    parameters instead of 3. The fianle parameter (the protection parameter)
    is no longer required.
    >
    That's fine, and I can find that information in a number of places, but
    what I don't seem to be able to find is what I should do...
    I can remove the last parameter from all of my Open commands, but what
    about the protection level? Is there another way to specify this or is
    it just not required at all?
    (all of them seem to use filebuf::openpr ot)
    Paul:

    This is not a question about mangaged C++; you would be better to ask it in

    microsoft.publi c.vc.language

    --
    David Wilkinson
    Visual C++ MVP

    Comment

    Working...