Click here to Skip to main content
15,917,321 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Platform SDK installing ! Pin
jhwurmbach4-Feb-03 3:12
jhwurmbach4-Feb-03 3:12 
GeneralRe: Platform SDK installing ! Pin
Abbas_Riazi4-Feb-03 4:03
professionalAbbas_Riazi4-Feb-03 4:03 
GeneralRe: Platform SDK installing ! Pin
ursus zeta4-Feb-03 12:26
ursus zeta4-Feb-03 12:26 
GeneralNT/Win2K/XP Maximum File Size Pin
Glynn4-Feb-03 1:30
Glynn4-Feb-03 1:30 
GeneralRe: NT/Win2K/XP Maximum File Size Pin
xxhimanshu4-Feb-03 2:06
xxhimanshu4-Feb-03 2:06 
GeneralRe: NT/Win2K/XP Maximum File Size Pin
Abbas_Riazi4-Feb-03 4:06
professionalAbbas_Riazi4-Feb-03 4:06 
GeneralRe: NT/Win2K/XP Maximum File Size Pin
Glynn5-Feb-03 1:16
Glynn5-Feb-03 1:16 
GeneralRe: NT/Win2K/XP Maximum File Size Pin
Mike Nordell5-Feb-03 4:05
Mike Nordell5-Feb-03 4:05 
You must (at least) take into account that creating a new file will probably allocate at least one cluster, and as the file grows it would probably need several more runs/clusters just to describe the layout of the file on disk.

Try reducing the size of the file you want to create, one page at a time, and I'm sure you'll see that sooner or later the SetFilePointer call will succeed.

Oh, another thing, be prepared that the process can, or more likely will hang for the duration of time needed to actually write NULL's to the filesize you requested (and it can't be terminated, not even by trying to kill it by Task Manager, since it's "hanging" in kernel-mode), why your machine could become "less useful" for other work in the time needed to zero-fill this file.

++luck;
GeneralRe: NT/Win2K/XP Maximum File Size Pin
Mike Nordell5-Feb-03 0:34
Mike Nordell5-Feb-03 0:34 
GeneralUpdate AppName in TaskBar Pin
leander4-Feb-03 1:25
leander4-Feb-03 1:25 
GeneralRe: Update AppName in TaskBar Pin
Abbas_Riazi4-Feb-03 4:18
professionalAbbas_Riazi4-Feb-03 4:18 
GeneralRe: Update AppName in TaskBar Pin
leander4-Feb-03 4:52
leander4-Feb-03 4:52 
GeneralIntefacing a database with ANSI C++ Pin
Jerome Conus4-Feb-03 1:07
Jerome Conus4-Feb-03 1:07 
GeneralRe: Intefacing a database with ANSI C++ Pin
markkuk4-Feb-03 1:22
markkuk4-Feb-03 1:22 
GeneralRe: Intefacing a database with ANSI C++ Pin
Jerome Conus4-Feb-03 1:27
Jerome Conus4-Feb-03 1:27 
GeneralRe: Intefacing a database with ANSI C++ Pin
markkuk4-Feb-03 5:47
markkuk4-Feb-03 5:47 
GeneralRe: Intefacing a database with ANSI C++ Pin
karl_w4-Feb-03 2:21
karl_w4-Feb-03 2:21 
GeneralRe: Intefacing a database with ANSI C++ Pin
Jerome Conus4-Feb-03 3:32
Jerome Conus4-Feb-03 3:32 
GeneralSHBrowseForFolder (Can we get more control over it?) Pin
Anand Vinod4-Feb-03 0:35
Anand Vinod4-Feb-03 0:35 
GeneralRe: SHBrowseForFolder (Can we get more control over it?) Pin
Abbas_Riazi4-Feb-03 4:34
professionalAbbas_Riazi4-Feb-03 4:34 
GeneralRe: SHBrowseForFolder (Can we get more control over it?) Pin
Anand Vinod4-Feb-03 18:35
Anand Vinod4-Feb-03 18:35 
GeneralRe: SHBrowseForFolder (Can we get more control over it?) Pin
Abbas_Riazi5-Feb-03 0:24
professionalAbbas_Riazi5-Feb-03 0:24 
GeneralSubitem images in listview with backgroundimage Pin
Onkie4-Feb-03 0:14
Onkie4-Feb-03 0:14 
QuestionHow to stop VC++ .NET compiler after an error? Pin
mireks3-Feb-03 23:55
mireks3-Feb-03 23:55 
AnswerRe: How to stop VC++ .NET compiler after an error? Pin
Rickard Andersson204-Feb-03 0:52
Rickard Andersson204-Feb-03 0:52 

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.