Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ editor Pin
typist12-Sep-03 1:22
typist12-Sep-03 1:22 
GeneralRe: C++ editor Pin
Dangleberry12-Sep-03 1:46
sussDangleberry12-Sep-03 1:46 
GeneralPainting problem in CFormView with overlapping ActiveX Pin
sanskypotov11-Sep-03 21:47
sanskypotov11-Sep-03 21:47 
GeneralRead backwarts from file Pin
Eddie70011-Sep-03 20:29
Eddie70011-Sep-03 20:29 
GeneralRe: Read backwarts from file Pin
Neville Franks12-Sep-03 0:32
Neville Franks12-Sep-03 0:32 
GeneralRe: Read backwarts from file Pin
Dangleberry12-Sep-03 1:49
sussDangleberry12-Sep-03 1:49 
GeneralRe: Read backwarts from file Pin
Mike Dimmick12-Sep-03 2:56
Mike Dimmick12-Sep-03 2:56 
GeneralRe: Read backwarts from file Pin
Eddie70015-Sep-03 1:23
Eddie70015-Sep-03 1:23 
Thanks for your hints,

I tried FILE_FLAG_RANDOM_ACCESS from CFile. There was the possibility to use that flag at the CFile constructor.
(CFile::osRandomAccess See FILE_FLAG_RANDOM_ACCESS in CreateFile in the Platform SDK)
But this was not enougth, the memory consumtion still increase.

So I use the FILE_FLAG_NO_BUFFERING flag to bypass the Cache Manager at all.
(CFile::osNoBuffer See FILE_FLAG_NO_BUFFERING in CreateFile in the Platform SDK). After I did some additional tuning on my rinbuffers this seems to be the solution. Memory usage keeps nearly constant and the transfe-rate is enough to do real time parsing on the mpeg stream.

Thanks for all your comments,
EddieBig Grin | :-D
GeneralCListCtrl + InsertColumn Pin
KKR11-Sep-03 19:44
KKR11-Sep-03 19:44 
GeneralRe: CListCtrl + InsertColumn Pin
Jagadeesh VN11-Sep-03 20:21
Jagadeesh VN11-Sep-03 20:21 
GeneralRe: CListCtrl + InsertColumn Pin
KKR11-Sep-03 21:51
KKR11-Sep-03 21:51 
GeneralLayering bitmaps Pin
smjones11-Sep-03 18:38
smjones11-Sep-03 18:38 
GeneralRe: Layering bitmaps Pin
Jagadeesh VN11-Sep-03 20:28
Jagadeesh VN11-Sep-03 20:28 
GeneralRe: Layering bitmaps Pin
smjones14-Sep-03 15:03
smjones14-Sep-03 15:03 
GeneralChanging exe name. Pin
Matt Gates11-Sep-03 18:07
Matt Gates11-Sep-03 18:07 
GeneralRe: Changing exe name. Pin
Vadim Tabakman11-Sep-03 18:17
Vadim Tabakman11-Sep-03 18:17 
GeneralRe: Changing exe name. Pin
Matt Gates12-Sep-03 7:42
Matt Gates12-Sep-03 7:42 
QuestionHow to search a device,such as USB device? Pin
njbull11-Sep-03 17:58
njbull11-Sep-03 17:58 
QuestionIs there any method for drawing box without using MFC? Pin
nwillie11-Sep-03 17:46
nwillie11-Sep-03 17:46 
GeneralPrint Picture Pin
vancouver77711-Sep-03 16:36
vancouver77711-Sep-03 16:36 
GeneralRe: Print Picture Pin
cje12-Sep-03 4:42
cje12-Sep-03 4:42 
GeneralRe: Print Picture Pin
sdfdsfa12-Sep-03 5:15
sdfdsfa12-Sep-03 5:15 
GeneralRe: Print Picture Pin
vancouver77712-Sep-03 5:15
vancouver77712-Sep-03 5:15 
GeneralDocument Depends On View Size Pin
Shawn Carroll11-Sep-03 13:57
Shawn Carroll11-Sep-03 13:57 
QuestionSort a combo box alphabetically *and* numerically? Pin
Member 9611-Sep-03 12:54
Member 9611-Sep-03 12:54 

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.