Click here to Skip to main content
16,005,241 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: the title of the window Pin
Anonymous13-Jun-03 3:04
Anonymous13-Jun-03 3:04 
GeneralRe: the title of the window Pin
sulaxan13-Jun-03 2:56
sulaxan13-Jun-03 2:56 
GeneralRe: the title of the window Pin
David Crow13-Jun-03 3:21
David Crow13-Jun-03 3:21 
GeneralRe: the title of the window Pin
basementman13-Jun-03 4:41
basementman13-Jun-03 4:41 
GeneralRe: the title of the window Pin
David Crow13-Jun-03 4:48
David Crow13-Jun-03 4:48 
GeneralSetPriorityClass Pin
Jerome Conus12-Jun-03 23:24
Jerome Conus12-Jun-03 23:24 
GeneralRe: SetPriorityClass Pin
Ryan Binns12-Jun-03 23:39
Ryan Binns12-Jun-03 23:39 
Generalmemory mapped files question Pin
Niko Tanghe12-Jun-03 22:49
Niko Tanghe12-Jun-03 22:49 
hey,

We want to synchronize a memory area with a file on disk.
I did the following steps:
- CreateFile(...,CREATE_ALWAYS)
- CreateFileMapping(FileHandle)
- pdata* <= MapViewOfFile(MapHandle)
then I use memcpy to write data to the file.

When I write a buffer to pData that is larger then the filesize, the buffer is truncated to the file size.
So I want the file to grow dynamically in size.

There is an api func DeviceIoControl with param FSCTL_SET_SPARSE to accomplish this, but this only seems to work on win 2000 with NTFS 5.

Anyone has an idea to accomplish this behaviour?

Thanks in advance.
GeneralDatabase Problem! Pin
vcseeker12-Jun-03 22:35
vcseeker12-Jun-03 22:35 
GeneralRe: Database Problem! Pin
Toni7812-Jun-03 23:20
Toni7812-Jun-03 23:20 
GeneralRe: Database Problem! Pin
basementman13-Jun-03 4:48
basementman13-Jun-03 4:48 
QuestionCount lines of code in a VS7 solution? Pin
Juan Miguel Venturello12-Jun-03 22:26
Juan Miguel Venturello12-Jun-03 22:26 
AnswerRe: Count lines of code in a VS7 solution? Pin
Franz Klein12-Jun-03 23:16
Franz Klein12-Jun-03 23:16 
GeneralRe: Count lines of code in a VS7 solution? Pin
Juan Miguel Venturello12-Jun-03 23:34
Juan Miguel Venturello12-Jun-03 23:34 
Generalsim printf Pin
parths12-Jun-03 21:59
parths12-Jun-03 21:59 
GeneralRe: sim printf Pin
Ryan Binns12-Jun-03 22:20
Ryan Binns12-Jun-03 22:20 
GeneralRe: sim printf Pin
parths13-Jun-03 2:12
parths13-Jun-03 2:12 
GeneralProblem with Font.Escapement Pin
Nuehli12-Jun-03 21:45
Nuehli12-Jun-03 21:45 
GeneralRe: Problem with Font.Escapement Pin
Roger Allen13-Jun-03 0:28
Roger Allen13-Jun-03 0:28 
GeneralRe: Problem with Font.Escapement Pin
Nuehli13-Jun-03 3:12
Nuehli13-Jun-03 3:12 
QuestionHow to get the text that is on the dialog Pin
JensB12-Jun-03 21:17
JensB12-Jun-03 21:17 
AnswerRe: How to get the text that is on the dialog Pin
Anonymous12-Jun-03 21:46
Anonymous12-Jun-03 21:46 
GeneralRe: How to get the text that is on the dialog Pin
JensB12-Jun-03 21:50
JensB12-Jun-03 21:50 
GeneralRe: How to get the text that is on the dialog Pin
Rage12-Jun-03 23:41
professionalRage12-Jun-03 23:41 
GeneralRe: How to get the text that is on the dialog Pin
JensB13-Jun-03 0:06
JensB13-Jun-03 0:06 

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.