Problem to convert from VC 6.0 to VC 7.1 because of using filebuf::setmode() 
Author Message
 Problem to convert from VC 6.0 to VC 7.1 because of using filebuf::setmode()

Hello,

I have to find out in which mode a filestream is open.
In VC 6.0 I can use the method filebuf::setmode() to get the previous open
mode.
Because in VC 7.1 setmode() is no longer available, how can I get the
openmode instead ?

Example:
int mode = os.setmode( filebuf::text );
if ( mode == filebuf::binary )
...

Thanks
Heinz



Fri, 09 Dec 2005 21:45:46 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Slower compilation with VC Net 2003 (7.1) when compared to VC Net 7.0

2. VC 7.1 template friend problem

3. Problem calling methods/catching events from WMP ActiveX 7.1 in VC++6.0

4. Problem converting VC++ 6.0 project to VC++.net

5. VC 5.0 and VC 6.0 compatibility problem ?

6. vc++ 5.0 to vc++ 6.0 problem

7. Problem upgrading from VC 5.0 to VC 6.0

8. ICE with vc 7.1 and simple spirit grammar

9. VC 7.1 seems to ignore typedef in template

10. Conversion from VC 7.0 to 7.1

 

 
Powered by phpBB® Forum Software