Click here to Skip to main content
15,893,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl clean up question Pin
Nishad S10-Jan-08 20:24
Nishad S10-Jan-08 20:24 
GeneralRe: CListCtrl clean up question Pin
zengkun10011-Jan-08 22:22
zengkun10011-Jan-08 22:22 
Questionhow to open an exist file of disk and print on the screen? Pin
gentleguy10-Jan-08 13:49
gentleguy10-Jan-08 13:49 
AnswerRe: how to open an exist file of disk and print on the screen? Pin
Maxwell Chen10-Jan-08 17:35
Maxwell Chen10-Jan-08 17:35 
NewsRe: how to open an exist file of disk and print on the screen? Pin
gentleguy10-Jan-08 17:59
gentleguy10-Jan-08 17:59 
QuestionServer Memory Management - large database. Pin
Mike Doner10-Jan-08 13:06
Mike Doner10-Jan-08 13:06 
GeneralRe: Server Memory Management - large database. Pin
Mark Salsbery10-Jan-08 14:07
Mark Salsbery10-Jan-08 14:07 
GeneralRe: Server Memory Management - large database. Pin
Mike Doner11-Jan-08 2:54
Mike Doner11-Jan-08 2:54 
Hi Mark,

Thanks for your reply.

We are using CreateFileMapping(), MapViewofFile() etc. We use this basically to give names to blocks of memory. We load each table off disk into blocks of memory managed by CreateFileMapping/VirtualAlloc.

I guess the biggest problem is the addition of new objects to a table and the memory we reserve.

Each table has a maximum number of objects... We reserve up to the maximum size required for that table and commit up to the number of active objects. When we reserve memory, its counted towards the 2g process limit. We reserve the bytes so that when a new object is added, we just need to commit "objectsize" at the end of the last committed bytes, we're not moving memory around or doing any further juggling.

Is there something I'm overlooking with File mapping that might help us out?
Thanks again for your reply.
GeneralRe: Server Memory Management - large database. Pin
upredsun10-Jan-08 18:24
upredsun10-Jan-08 18:24 
Generalshdocvw.dll - WebBrowser control Pin
Force Code10-Jan-08 11:17
Force Code10-Jan-08 11:17 
GeneralRe: shdocvw.dll - WebBrowser control Pin
CPallini10-Jan-08 12:18
mveCPallini10-Jan-08 12:18 
GeneralRe: shdocvw.dll - WebBrowser control Pin
Force Code10-Jan-08 12:46
Force Code10-Jan-08 12:46 
GeneralRe: shdocvw.dll - WebBrowser control Pin
CPallini10-Jan-08 21:08
mveCPallini10-Jan-08 21:08 
GeneralRe: shdocvw.dll - WebBrowser control Pin
Lim Bio Liong10-Jan-08 17:17
Lim Bio Liong10-Jan-08 17:17 
GeneralLoading Bitmaps - Distorted image Pin
Gadjuka10-Jan-08 10:15
Gadjuka10-Jan-08 10:15 
GeneralRe: Loading Bitmaps - Distorted image Pin
Mark Salsbery10-Jan-08 11:15
Mark Salsbery10-Jan-08 11:15 
GeneralRe: Loading Bitmaps - Distorted image Pin
CPallini10-Jan-08 12:04
mveCPallini10-Jan-08 12:04 
GeneralRe: Loading Bitmaps - Distorted image Pin
Californian210-Jan-08 13:00
Californian210-Jan-08 13:00 
GeneralRe: Loading Bitmaps - Distorted image Pin
Gadjuka11-Jan-08 0:42
Gadjuka11-Jan-08 0:42 
GeneralRe: Loading Bitmaps - Distorted image Pin
Gadjuka11-Jan-08 14:25
Gadjuka11-Jan-08 14:25 
QuestionMenu Notifications on MFC Pin
blackbondi10-Jan-08 9:00
blackbondi10-Jan-08 9:00 
GeneralRe: Menu Notifications on MFC Pin
CPallini10-Jan-08 9:50
mveCPallini10-Jan-08 9:50 
GeneralRe: Menu Notifications on MFC Pin
blackbondi10-Jan-08 23:59
blackbondi10-Jan-08 23:59 
QuestionRe: Menu Notifications on MFC Pin
David Crow10-Jan-08 9:52
David Crow10-Jan-08 9:52 
GeneralRe: Menu Notifications on MFC Pin
blackbondi11-Jan-08 0:16
blackbondi11-Jan-08 0:16 

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.