Click here to Skip to main content
15,887,746 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: CFileException, discover reasons Pin
Richard MacCutchan9-Jun-13 20:41
mveRichard MacCutchan9-Jun-13 20:41 
Answertried FormatMessage() Pin
bkelly139-Jun-13 7:07
bkelly139-Jun-13 7:07 
AnswerStill looking for reason text Pin
bkelly1322-Jun-13 12:17
bkelly1322-Jun-13 12:17 
GeneralRe: Still looking for reason text Pin
Richard MacCutchan23-Jun-13 0:51
mveRichard MacCutchan23-Jun-13 0:51 
GeneralRe: Still looking for reason text Pin
bkelly134-Jul-13 11:05
bkelly134-Jul-13 11:05 
GeneralRe: Still looking for reason text Pin
Richard MacCutchan4-Jul-13 20:50
mveRichard MacCutchan4-Jul-13 20:50 
QuestionHow to force C++ allocate memory from disk? Pin
Falconapollo7-Jun-13 23:49
Falconapollo7-Jun-13 23:49 
AnswerRe: How to force C++ allocate memory from disk? Pin
MicroVirus11-Jun-13 0:13
MicroVirus11-Jun-13 0:13 
The most elegant approach is to use MapViewOfFile to only map a smaller piece of the file at any one time, one that does fit into your address space, and then shift the view by Unmap/Map-ing.
In conjunction with this, a way to slightly extend the limit of what can fit in your address space is to set the /LARGEADDRESSAWARE compiler switch, which can be found under the properties. This tells the compiler that you are aware of that 32 bits pointer can use the full range of 0 - 2^32-1, rather than only half that range 2^31-1. With this, you might be able to reach up to ~3GB, depending on system configuration and your application. However, this only slightly shifts the available memory.

Using the above approach, you map the piece of file that you want to use into your address space, and as soon as you are done with the current piece you map the next, etc.
GeneralRe: How to force C++ allocate memory from disk? Pin
Falconapollo11-Jun-13 0:19
Falconapollo11-Jun-13 0:19 
NewsProblem when apply cilk_for with ippiFFT of intel parallel Pin
tunheo5-Jun-13 23:37
tunheo5-Jun-13 23:37 
QuestionRemove COM Objects from VC++ projects Pin
Prashant Gupta 2413-Jun-13 20:05
Prashant Gupta 2413-Jun-13 20:05 
AnswerRe: Remove COM Objects from VC++ projects Pin
Richard MacCutchan3-Jun-13 21:01
mveRichard MacCutchan3-Jun-13 21:01 
GeneralRe: Remove COM Objects from VC++ projects Pin
Prashant Gupta 2413-Jun-13 22:39
Prashant Gupta 2413-Jun-13 22:39 
GeneralRe: Remove COM Objects from VC++ projects Pin
Richard MacCutchan3-Jun-13 22:51
mveRichard MacCutchan3-Jun-13 22:51 
GeneralRe: Remove COM Objects from VC++ projects Pin
Prashant Gupta 2413-Jun-13 23:30
Prashant Gupta 2413-Jun-13 23:30 
GeneralRe: Remove COM Objects from VC++ projects Pin
Richard MacCutchan3-Jun-13 23:43
mveRichard MacCutchan3-Jun-13 23:43 
AnswerRe: Remove COM Objects from VC++ projects Pin
Hrpreet singh6-Jun-13 0:36
Hrpreet singh6-Jun-13 0:36 
GeneralRe: Remove COM Objects from VC++ projects Pin
Prashant Gupta 2416-Jun-13 0:42
Prashant Gupta 2416-Jun-13 0:42 
Questionc++ exporting class variables Pin
bfis1081371-Jun-13 9:26
bfis1081371-Jun-13 9:26 
AnswerRe: c++ exporting class variables Pin
MicroVirus3-Jun-13 5:10
MicroVirus3-Jun-13 5:10 
QuestionHow to encrypt and decrypt a const char* in winrt Pin
yourchandrashekhar@gmail.com26-May-13 22:09
yourchandrashekhar@gmail.com26-May-13 22:09 
GeneralRe: How to encrypt and decrypt a const char* in winrt Pin
Richard MacCutchan26-May-13 23:36
mveRichard MacCutchan26-May-13 23:36 
GeneralRe: How to encrypt and decrypt a const char* in winrt Pin
yourchandrashekhar@gmail.com28-May-13 9:46
yourchandrashekhar@gmail.com28-May-13 9:46 
GeneralRe: How to encrypt and decrypt a const char* in winrt Pin
Richard MacCutchan28-May-13 11:21
mveRichard MacCutchan28-May-13 11:21 
QuestionVC++ Crashing? Pin
macklinbob20-May-13 9:25
macklinbob20-May-13 9:25 

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.