Hello! I'm working on an application where a binary file must be loaded and should be kept in memory during all execution. I guess that keeping data in physical memory and avoid memory swap on virtual memory is not possible. Is it a way to keep the whole address space that concerns my application in physical memory? Thank you for any information ! Frédéric. C++/MFC/SQL developer.
Fred dB
Posts
-
Memory allocation with no swap -
CListCtrl OnKeyDown message.Scot, First,thank you to pay attention at my problem!. I noticed, after you answered me, that any controls trough the application get messages (concerning keystrokes). I implemented what you adviced me everywhere in my controls but never i entered in the fucntion OnGetDlgCode ... afx_msg UINT OnGetDlgCode( ); ON_WM_CREATE() UINT Cxxx::OnGetDlgCode() { return Cxxx::OnGetDlgCode() | DLGC_WANTARROWS | DLGC_WANTTAB; } It's a very weird situation. Anyway thanks for your help. Frédéric. Fred C++/MFC/SQL developer
-
CListCtrl OnKeyDown message.Thank you, I try immediately. Fred
-
BIOS?Are u sure that your hd partition is primary and then the flag is set to active? Fred Senior developer - C++/MFC/SQL
-
CListCtrl OnKeyDown message.Hello, I have problem with a CListCtrl. As you know, pushing up/bottom arrow allow you to move up and down through the elements of your list (it's builtin). Everything was perfect since yesterday :) I noticed that the arrows didn't respond. A message (WM_KEYDOWN) seems to be blocked by something but i can't put the finger on it. Mouse events work perfectly. I derived a class from CListCtrl and i put it in a form derived from CFormView. As i said,all was working perfectly two days ago. The problem seems to be simple, i do not use special or custom code to process messages. I think i respect the way to implement controls using MFC. Any tips to locate simply (with VC debugger) where the problem is? Thank u! Fred C++/MFC/SQL Developer.