Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how can i get RGB value from an image Pin
Alexander M.,27-Apr-04 5:31
Alexander M.,27-Apr-04 5:31 
GeneralRe: how can i get RGB value from an image Pin
Member 41696027-Apr-04 20:36
Member 41696027-Apr-04 20:36 
GeneralI/O Read Write to the same file Pin
Zombie_Inc27-Apr-04 2:55
Zombie_Inc27-Apr-04 2:55 
GeneralRe: I/O Read Write to the same file Pin
rrrado27-Apr-04 3:26
rrrado27-Apr-04 3:26 
GeneralRe: I/O Read Write to the same file Pin
rrrado27-Apr-04 3:28
rrrado27-Apr-04 3:28 
GeneralRe: I/O Read Write to the same file Pin
David Crow27-Apr-04 3:31
David Crow27-Apr-04 3:31 
GeneralRe: I/O Read Write to the same file Pin
Zombie_Inc27-Apr-04 10:53
Zombie_Inc27-Apr-04 10:53 
GeneraldiskFull (but not really !) problem Pin
Still learning how to code27-Apr-04 1:58
Still learning how to code27-Apr-04 1:58 
Hi, I have a peculiar problem ! I'm developing a specialised backup facility which uses formatted CD's (created by Adaptec DirectCD) as the backup medium. I am testing the program as the CD reaches it's limit space-wise. Naturally, I test the available space on the CD using GetDiskFreeSpace() and compare it against the file size using CFile::GetLength() before embarking upon the write (using CFile::Write()) for that particular file. However, BEFORE I hit failure on the size comparison,I get an exception (diskFull) during a write operation. i.e.

CFile exception: diskFull, File E:\C\Data\Clipart\Christmas\Candle and holly.bmp, OS error information = 112.
First-chance exception in MyBackup.exe (MFC40D.DLL): 0xE06D7363: Microsoft C++ Exception.

However, using Explorer AFTER the event, I find that the free space on the CD is VASTLY greater than the size of the file being written at the time of failure (eg 300Kb vers 32Kb). If I rerun the backup (which SHOULD occur in the same file order), I get the failure in a different file (VERY suspicious,don't you think ?) I'm stumped as to how to persue this problem - can anyone make any suggestions ?

Doug
GeneralRe: diskFull (but not really !) problem Pin
jmkhael27-Apr-04 2:43
jmkhael27-Apr-04 2:43 
GeneralRe: diskFull (but not really !) problem Pin
toxcct27-Apr-04 2:47
toxcct27-Apr-04 2:47 
GeneralRe: diskFull (but not really !) problem Pin
jmkhael27-Apr-04 2:49
jmkhael27-Apr-04 2:49 
GeneralRe: diskFull (but not really !) problem Pin
toxcct27-Apr-04 2:51
toxcct27-Apr-04 2:51 
GeneralRe: diskFull (but not really !) problem Pin
jmkhael27-Apr-04 2:52
jmkhael27-Apr-04 2:52 
GeneralRe: diskFull (but not really !) problem Pin
Still learning how to code27-Apr-04 6:52
Still learning how to code27-Apr-04 6:52 
GeneralCharacters and strings Pin
A Jones27-Apr-04 1:30
A Jones27-Apr-04 1:30 
GeneralRe: Characters and strings Pin
Anonymous27-Apr-04 1:41
Anonymous27-Apr-04 1:41 
GeneralRe: Characters and strings Pin
toxcct27-Apr-04 1:57
toxcct27-Apr-04 1:57 
GeneralRe: Characters and strings Pin
David Crow27-Apr-04 2:11
David Crow27-Apr-04 2:11 
GeneralRe: Characters and strings Pin
Garth J Lancaster27-Apr-04 2:25
professionalGarth J Lancaster27-Apr-04 2:25 
GeneralRe: Characters and strings Pin
David Crow27-Apr-04 2:34
David Crow27-Apr-04 2:34 
GeneralRe: Characters and strings Pin
Garth J Lancaster27-Apr-04 2:44
professionalGarth J Lancaster27-Apr-04 2:44 
GeneralRe: Characters and strings Pin
David Crow27-Apr-04 3:02
David Crow27-Apr-04 3:02 
GeneralRe: Characters and strings Pin
Garth J Lancaster27-Apr-04 3:24
professionalGarth J Lancaster27-Apr-04 3:24 
GeneralRe: Characters and strings Pin
Garth J Lancaster27-Apr-04 2:20
professionalGarth J Lancaster27-Apr-04 2:20 
GeneralRe: Characters and strings Pin
John R. Shaw27-Apr-04 7:11
John R. Shaw27-Apr-04 7:11 

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.