Click here to Skip to main content
15,920,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a question on heap..... Pin
Toby Opferman10-Jun-05 5:42
Toby Opferman10-Jun-05 5:42 
GeneralRe: a question on heap..... Pin
Bob Stanneveld10-Jun-05 9:50
Bob Stanneveld10-Jun-05 9:50 
GeneralRe: a question on heap..... Pin
Toby Opferman10-Jun-05 12:35
Toby Opferman10-Jun-05 12:35 
GeneralRe: a question on heap..... Pin
Toby Opferman10-Jun-05 12:41
Toby Opferman10-Jun-05 12:41 
GeneralRe: a question on heap..... Pin
Bob Stanneveld10-Jun-05 13:24
Bob Stanneveld10-Jun-05 13:24 
GeneralRe: a question on heap..... Pin
Toby Opferman10-Jun-05 13:36
Toby Opferman10-Jun-05 13:36 
GeneralRe: a question on heap..... Pin
Toby Opferman10-Jun-05 14:02
Toby Opferman10-Jun-05 14:02 
GeneralRe: a question on heap..... Pin
Bob Stanneveld11-Jun-05 1:25
Bob Stanneveld11-Jun-05 1:25 
Toby Opferman wrote:
Yes, that is the point; you can use memory mapped files to access more than 2 Gigabytes of address space without doing the overhead of a copy.

True, as long as you have the adress space. But this approach requires a whole lot of different and more difficult things to be managed, since MMF's are not designed for my purpose. They are designed for IPC and efficiently processing large files of records, not for completly unpredictable random access.

Besides that the copying of the memory is done by windows, only at a lower level.

What I'm trying to accomplish is indeed basically a memory mapped file, but only at a smaller scale as the windows MMF's. I don't know yet if I should use MMF for this purpose, but I'll certainly look into it.

If you want, I can notify you when my article is ready, and you can see what I mean.

Thanks for the suggestion, I can make a decision after doing some research..

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
GeneralRe: a question on heap..... Pin
Toby Opferman11-Jun-05 7:49
Toby Opferman11-Jun-05 7:49 
GeneralRe: a question on heap..... Pin
Bob Stanneveld12-Jun-05 6:00
Bob Stanneveld12-Jun-05 6:00 
GeneralRe: a question on heap..... Pin
Toby Opferman12-Jun-05 7:32
Toby Opferman12-Jun-05 7:32 
GeneralRe: a question on heap..... Pin
Toby Opferman12-Jun-05 7:52
Toby Opferman12-Jun-05 7:52 
GeneralRe: a question on heap..... Pin
Toby Opferman12-Jun-05 8:21
Toby Opferman12-Jun-05 8:21 
GeneralRe: a question on heap..... Pin
Bob Stanneveld12-Jun-05 20:47
Bob Stanneveld12-Jun-05 20:47 
GeneralRe: a question on heap..... Pin
Toby Opferman13-Jun-05 10:28
Toby Opferman13-Jun-05 10:28 
GeneralRe: a question on heap..... Pin
Bob Stanneveld13-Jun-05 11:51
Bob Stanneveld13-Jun-05 11:51 
GeneralRe: a question on heap..... Pin
Toby Opferman14-Jun-05 12:46
Toby Opferman14-Jun-05 12:46 
GeneralRe: a question on heap..... Pin
Bob Stanneveld14-Jun-05 20:42
Bob Stanneveld14-Jun-05 20:42 
GeneralRe: a question on heap..... Pin
Toby Opferman9-Jun-05 19:14
Toby Opferman9-Jun-05 19:14 
QuestionWinsock2 -- recv() function query? Pin
arrya_amit3-May-05 19:45
arrya_amit3-May-05 19:45 
AnswerRe: Winsock2 -- recv() function query? Pin
DKT_3-May-05 20:29
DKT_3-May-05 20:29 
GeneralThe differences between "class" and "struct" in C++ Pin
inew3-May-05 19:25
inew3-May-05 19:25 
GeneralRe: The differences between "class" and "struct" in C++ Pin
Priyank Bolia3-May-05 19:30
Priyank Bolia3-May-05 19:30 
GeneralRe: The differences between "class" and "struct" in C++ Pin
S. Senthil Kumar3-May-05 20:35
S. Senthil Kumar3-May-05 20:35 
GeneralRe: The differences between "class" and "struct" in C++ Pin
Bob Stanneveld3-May-05 22:27
Bob Stanneveld3-May-05 22:27 

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.