Click here to Skip to main content
15,897,291 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: visual studio Pin
Mike Melnikov11-Aug-00 6:53
Mike Melnikov11-Aug-00 6:53 
GeneralRe: visual studio Pin
David Wulff11-Aug-00 14:54
David Wulff11-Aug-00 14:54 
QuestionHow to get a CString to contain the contents of IHTMLDocument2::toString(...) Pin
David Wulff10-Aug-00 9:27
David Wulff10-Aug-00 9:27 
AnswerRe: How to get a CString to contain the contents of IHTMLDocument2::toString(...) Pin
Buck19-Aug-00 8:27
Buck19-Aug-00 8:27 
GeneralRe: How to get a CString to contain the contents of IHTMLDocument2::toString(...) Pin
David Wulff20-Aug-00 12:45
David Wulff20-Aug-00 12:45 
GeneralRe: How to get a CString to contain the contents of IHTMLDocument2::toString(...) Pin
Buck20-Aug-00 17:27
Buck20-Aug-00 17:27 
GeneralRTS Toggle under WIndows 2000 Pin
rocco10-Aug-00 9:03
rocco10-Aug-00 9:03 
GeneralANSI C++ filebuf class and problems with filebuf::fd filebuf::sync on buffered IO Pin
Karl Mutch10-Aug-00 6:38
Karl Mutch10-Aug-00 6:38 
Any one have any ideas on this problem that I sent off to msdn ?

http://msdn.microsoft.com/library/devprods/vs6/visualc/vclang/_iostream_a_streambuf_derivation_example.htm

C++ Visual Studio 6 with SP4 on Windows NT 4.0

There are contradictory examples of filebuf using the sync method and the fd accessor method(s). The C++ standard documents the methods and so does Microsoft, however MS's library doc's are full of examples of using features that they don't support and they do not show workarounds in fact the class filebuf is total unusable in buffered IO situations and has no way of working without manually changing your include files.

If this was a support question I could word it as ...

When using buffered IO with the filebuf class how does someone within the sync method pysically get the output to the disk as a buffer, usually this could be done by calling the base filebuf class sync but it does not implement buffering properly and only calls a flush function rather than checking for unbuffered == false then calling write then calling flush. Also I cannot compensate by getting the file descriptor and manually doing the write because the filebuf::fd is not supported!!!

Karl Mutch
GeneralSTL Tutorial Pin
Matthias Steinbart9-Aug-00 21:07
sussMatthias Steinbart9-Aug-00 21:07 
GeneralRe: STL Tutorial Pin
Andreas Mueller9-Aug-00 22:02
Andreas Mueller9-Aug-00 22:02 
GeneralRe: STL Tutorial - book Pin
warjo10-Aug-00 21:49
warjo10-Aug-00 21:49 
GeneralProblems in Accessing Tape Drive for Restoration. Pin
karthik9-Aug-00 20:41
karthik9-Aug-00 20:41 
QuestionHow to format source code in discussion board message Pin
HP9-Aug-00 20:24
HP9-Aug-00 20:24 
AnswerRe: How to format source code in discussion board message Pin
Brian Hart10-Aug-00 7:21
Brian Hart10-Aug-00 7:21 
Generalmessage passing bw 2 application Pin
aasher9-Aug-00 20:09
aasher9-Aug-00 20:09 
GeneralRe: message passing bw 2 application Pin
Brian Hart10-Aug-00 7:19
Brian Hart10-Aug-00 7:19 
GeneralRe: message passing bw 2 application Pin
Blake Miller22-Aug-00 10:00
Blake Miller22-Aug-00 10:00 
Generalcom Pin
koteswara9-Aug-00 19:48
koteswara9-Aug-00 19:48 
GeneralRe: com Pin
Brian Hart10-Aug-00 7:17
Brian Hart10-Aug-00 7:17 
GeneralRe: com Pin
Alex Gorev10-Aug-00 7:44
Alex Gorev10-Aug-00 7:44 
GeneralDCOM Tutorial Announcement Pin
Brian Hart9-Aug-00 14:43
Brian Hart9-Aug-00 14:43 
GeneralGetting the pointer to a CView from CMyApp Pin
David Wulff9-Aug-00 13:51
David Wulff9-Aug-00 13:51 
GeneralRe: Getting the pointer to a CView from CMyApp Pin
Brian Hart9-Aug-00 14:50
Brian Hart9-Aug-00 14:50 
GeneralRe: Getting the pointer to a CView from CMyApp Pin
David Wulff9-Aug-00 15:05
David Wulff9-Aug-00 15:05 
GeneralModify Windows Icons Pin
beka9-Aug-00 11:58
beka9-Aug-00 11:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.