Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Wierd GetFileSize problem Pin
Chris Losinger8-Jul-02 3:50
professionalChris Losinger8-Jul-02 3:50 
GeneralRe: Wierd GetFileSize problem Pin
Senkwe Chanda8-Jul-02 4:03
Senkwe Chanda8-Jul-02 4:03 
GeneralRe: Wierd GetFileSize problem Pin
Chris Losinger8-Jul-02 4:06
professionalChris Losinger8-Jul-02 4:06 
GeneralRe: Wierd GetFileSize problem Pin
Senkwe Chanda8-Jul-02 4:33
Senkwe Chanda8-Jul-02 4:33 
GeneralRe: Wierd GetFileSize problem Pin
Chris Losinger8-Jul-02 4:52
professionalChris Losinger8-Jul-02 4:52 
GeneralRe: Wierd GetFileSize problem Pin
Senkwe Chanda8-Jul-02 5:14
Senkwe Chanda8-Jul-02 5:14 
GeneralRe: Wierd GetFileSize problem Pin
Senkwe Chanda8-Jul-02 5:41
Senkwe Chanda8-Jul-02 5:41 
GeneralRe: Wierd GetFileSize problem Pin
Senkwe Chanda8-Jul-02 4:52
Senkwe Chanda8-Jul-02 4:52 
Turns out that your guess is correct, I tried the following...

DWORD numBlocks = GetFileSize(NULL, NULL)/64;


and sure enough I got the exact same huge number as before. I'm still stumped as to WHY it's NULL in RELEASE mode but not in DEBUG mode. Could be access rights or permissions.



And when God, who created the entire universe with all of its glories, decides to deliver a message to humanity, He WILL NOT use, as His messenger, a person on cable TV with a bad hairstyle.

GeneralProblem with WM_CREATE Pin
S van Leent8-Jul-02 2:40
S van Leent8-Jul-02 2:40 
GeneralRe: Problem with WM_CREATE Pin
Mike Upton8-Jul-02 3:13
Mike Upton8-Jul-02 3:13 
GeneralRe: Problem with WM_CREATE Pin
S van Leent8-Jul-02 3:18
S van Leent8-Jul-02 3:18 
GeneralRe: Problem with WM_CREATE Pin
S van Leent8-Jul-02 4:23
S van Leent8-Jul-02 4:23 
GeneralConfiguring Database on a remote machine for DSN in my system Pin
8-Jul-02 2:06
suss8-Jul-02 2:06 
GeneralRe: Configuring Database on a remote machine for DSN in my system Pin
Prem Kumar8-Jul-02 3:08
Prem Kumar8-Jul-02 3:08 
GeneralRe: Configuring Database on a remote machine for DSN in my system Pin
sagmam8-Jul-02 5:45
sagmam8-Jul-02 5:45 
GeneralPlease help please urgent...... Pin
8-Jul-02 1:57
suss8-Jul-02 1:57 
GeneralRe: Attaching to the debugger Pin
Roger Allen8-Jul-02 2:59
Roger Allen8-Jul-02 2:59 
Generaladd-in question Pin
Hans Ruck8-Jul-02 1:49
Hans Ruck8-Jul-02 1:49 
Generalctrl+alt+del(windows 2000) Pin
slah8-Jul-02 1:43
slah8-Jul-02 1:43 
GeneralRe: ctrl+alt+del(windows 2000) Pin
DanielP8-Jul-02 5:42
DanielP8-Jul-02 5:42 
GeneralRe: ctrl+alt+del(windows 2000) Pin
-Dy9-Jul-02 1:54
-Dy9-Jul-02 1:54 
GeneralVisual .NET Debugger on 6.0 C++ compiler Pin
8-Jul-02 1:36
suss8-Jul-02 1:36 
QuestionOverride CArchive::IsStoring()==FALSE ? Pin
Koep8-Jul-02 1:05
Koep8-Jul-02 1:05 
GeneralSetWindowPos Problem Pin
AJ1238-Jul-02 0:39
AJ1238-Jul-02 0:39 
GeneralRe: SetWindowPos Problem Pin
Elrond8-Jul-02 4:53
Elrond8-Jul-02 4:53 

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.