Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaloverruling new/delete, malloc/free Pin
Patje16-Dec-03 6:07
Patje16-Dec-03 6:07 
GeneralRe: overruling new/delete, malloc/free Pin
Alexander M.,16-Dec-03 9:05
Alexander M.,16-Dec-03 9:05 
QuestionHow to make a cab file with safe MFC control?? Pin
aglcic16-Dec-03 5:50
aglcic16-Dec-03 5:50 
AnswerRe: How to make a cab file with safe MFC control?? Pin
Roger Stewart16-Dec-03 14:37
professionalRoger Stewart16-Dec-03 14:37 
GeneralHelp with serialization Pin
Juan Carlos Cobas16-Dec-03 5:16
Juan Carlos Cobas16-Dec-03 5:16 
GeneralRe: Help with serialization Pin
Juan Carlos Cobas16-Dec-03 5:57
Juan Carlos Cobas16-Dec-03 5:57 
GeneralHTTP Post Pin
si_6916-Dec-03 4:58
si_6916-Dec-03 4:58 
GeneralExperts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 4:37
oren frenkel16-Dec-03 4:37 
Hi,
I need to allocate memory for a large buffer (between 1 to 100 MB) in the RAM for a relatively short period (for recording data in an extremely high rate from USB2).

The problem is that i need to force the operating system NOT TO USE SWAPPING / PAGING on that buffer. This means that the whole buffer must be physically allocated in the RAM, and NOT in the hard disk.
does anybody know how to do that?

Programming language: C++
OS : windows 2000/xp

Tanks,
Oren.
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
Felix Gartsman16-Dec-03 5:31
Felix Gartsman16-Dec-03 5:31 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 5:44
oren frenkel16-Dec-03 5:44 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
Felix Gartsman16-Dec-03 7:39
Felix Gartsman16-Dec-03 7:39 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 22:40
oren frenkel16-Dec-03 22:40 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
John M. Drescher16-Dec-03 7:56
John M. Drescher16-Dec-03 7:56 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 22:38
oren frenkel16-Dec-03 22:38 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
John M. Drescher17-Dec-03 4:11
John M. Drescher17-Dec-03 4:11 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel17-Dec-03 4:18
oren frenkel17-Dec-03 4:18 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
John M. Drescher17-Dec-03 4:27
John M. Drescher17-Dec-03 4:27 
GeneralStarter Pin
neo2k316-Dec-03 3:58
neo2k316-Dec-03 3:58 
GeneralRe: Starter Pin
valikac16-Dec-03 5:11
valikac16-Dec-03 5:11 
GeneralRe: Starter Pin
Anonymous17-Dec-03 3:26
Anonymous17-Dec-03 3:26 
GeneralRe: Starter Pin
LittleYellowBird16-Dec-03 5:16
LittleYellowBird16-Dec-03 5:16 
GeneralRe: Starter Pin
Roger Wright16-Dec-03 5:23
professionalRoger Wright16-Dec-03 5:23 
GeneralRe: Starter Pin
BaldwinMartin16-Dec-03 11:19
BaldwinMartin16-Dec-03 11:19 
GeneralHEAP[MyProgram.exe]: Invalid Address specified to RtlSizeHeap( 00140000, 001E8D10 ) Pin
UOzkan16-Dec-03 3:02
UOzkan16-Dec-03 3:02 
GeneralRe: HEAP[MyProgram.exe]: Invalid Address specified to RtlSizeHeap( 00140000, 001E8D10 ) Pin
Abebe16-Dec-03 3:38
Abebe16-Dec-03 3:38 

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.