473,796 Members | 2,826 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Nov 5 '08 #1
1 894
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
Nov 5 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1994
by: Dave Harney | last post by:
Hi Newsgroup, I'm currently using VS Ver 7.0.9466 with an OS of Server 2000 (domain controller) Ver 5.0.2195 (Build 2195) SP4. I have MSDN Universal and would like to upgrade my development environment ot Server 2003 and VS 2003 Do I need to start from scratch, or will can I use Server 2003 as a simple upgrade to my existing OS?
12
2427
by: Moritz Steinberger | last post by:
Hello, I want to use a tutorial to take first steps. I use MS Visual c++ 6.0 and Win 98. When I try to compile a "hello world" program using the <iostream.h> library and cout << "hello world", the compiler tells me that "cout" is an undeclared identifier. But it does not tell me that including iostream.h causes any problems. I read in a german newsgroup that instead of <iostrem.h>, simply <iostrem> has to be included under MS Visual C++...
7
3211
by: S. Nurbe | last post by:
Hi, probably this is a common problem but I couldn't find yet a proper solution (and I hope there is one). I have two relative complex frameworks: one uses only iostream.h the other one only iostream. Is it somehow possible to put them together to one framework and solve the iostream problem (also other header are effected, e.g. fstream)? If I just change the header in one framework I get lots of errors,
2
1330
by: timp | last post by:
HI We are currently considering to upgrade to .net 2.0 but we are in the middle of a release face, and I need to here you experience wither other n- tier solutions based on ASP.Net and some Infragistic web grids etc. Did you have any issues with the upgrade ? and what issues ? Regards Tim P
7
6668
by: Abdul-Wahid Paterson | last post by:
Hi, I have had a site working for the last 2 years and have had no problems until at the weekend I replace my database server with a newer one. The database migration went like a dream and I had the whole db changed over in 1 hour. Since the upgrade I have been getting the following error message sporadically.
2
2515
by: Trevor Hughes | last post by:
Hello All Our organisation has recently upgraded its operating system to Windows 2000. Prior to this I was running Access 2000 databases on NT machines using the Access 2000 Runtime with no problems. Since the upgrade I am experiencing runtime errors which are making parts of the database unusable. The database will crash when I run a report. One of the problems relates to formating problems surrounding reference libraries. I have...
1
2933
by: Shane Ragone | last post by:
What happened to iostream.h in VS .NET? Are we now to code: #include <iostream> instead of: #include <iostream.h> All my past code that used iostream.h will no longer
2
8471
by: KR | last post by:
Hi, We are running a test upgrade form sql 2000 standard edition to sql 2005 developer edition. Followed through all the steps and specified the account(SA priveleges and currently used by the 2000 version) and is the local admin on the box for the services and the setup seemed to move fine, except for when it got to the point of installing database services - This is the error message that I got: MSSQLServer could not be started. ...
13
1888
by: John | last post by:
Our technical guy says that our linux server is running PHP 4. I thought we were running 5 already. He says he wants to charge us £500 a year to install and support it because it is a lot of work, and the problems it will create on our current systems are huge etc. Now I installed 5 on my PC at home running Apache without any problems and develop sites locally and then upload to the server (running 4). I have never had a problem with...
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9525
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10169
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.