Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalusing CArchive with CBlockingSocket class Pin
Mike Ellertson25-Aug-03 7:56
sussMike Ellertson25-Aug-03 7:56 
GeneralRe: using CArchive with CBlockingSocket class Pin
Mikey_E25-Aug-03 8:30
professionalMikey_E25-Aug-03 8:30 
GeneralProblem with MFC create control for component Pin
tongc25-Aug-03 7:13
tongc25-Aug-03 7:13 
GeneralSHGetFileInfo Pin
Member 50856725-Aug-03 7:02
Member 50856725-Aug-03 7:02 
GeneralRe: SHGetFileInfo Pin
David Crow25-Aug-03 8:06
David Crow25-Aug-03 8:06 
GeneralRe: SHGetFileInfo Pin
Member 50856726-Aug-03 2:36
Member 50856726-Aug-03 2:36 
GeneralCommit to Disk Pin
jmf31415925-Aug-03 6:40
jmf31415925-Aug-03 6:40 
GeneralRe: Commit to Disk Pin
Neville Franks25-Aug-03 10:43
Neville Franks25-Aug-03 10:43 
jmf314159 wrote:
if (fp = fopen(filename, "cwt"), fp != NULL)
{


What is this??

I'd like to think the majority of people would write:
if ( (fp = fopen(filename, "cwt")) != NULL )


open/fopen etc. will fail if the file is marked r/o and you are trying to write to it or create it. Or if the file is locked by another process, or the path is invalid etc. You can test errno for specific details of the error.

Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com
GeneralRe: Commit to Disk Pin
jmf31415925-Aug-03 11:43
jmf31415925-Aug-03 11:43 
GeneralRe: Commit to Disk Pin
Neville Franks25-Aug-03 12:03
Neville Franks25-Aug-03 12:03 
GeneralRe: Commit to Disk Pin
parths25-Aug-03 15:25
parths25-Aug-03 15:25 
GeneralGibberish code Pin
dog_spawn25-Aug-03 15:06
dog_spawn25-Aug-03 15:06 
QuestionApplication-Close/Minimize effect, where? Pin
Exim25-Aug-03 6:39
Exim25-Aug-03 6:39 
AnswerRe: Application-Close/Minimize effect, where? Pin
Mikey_E25-Aug-03 10:16
professionalMikey_E25-Aug-03 10:16 
GeneralAutosrolling in an CEdit Pin
Bateman25-Aug-03 6:07
Bateman25-Aug-03 6:07 
Generalrefference a pointer to another process !!! Pin
mr200325-Aug-03 5:46
mr200325-Aug-03 5:46 
GeneralRe: refference a pointer to another process !!! Pin
valikac25-Aug-03 5:54
valikac25-Aug-03 5:54 
GeneralRe: refference a pointer to another process !!! Pin
Babayan Hovhannes26-Aug-03 0:04
Babayan Hovhannes26-Aug-03 0:04 
GeneralRe: refference a pointer to another process !!! Pin
mr200326-Aug-03 6:41
mr200326-Aug-03 6:41 
GeneralDev studio question for experts Pin
YaronNir25-Aug-03 4:12
YaronNir25-Aug-03 4:12 
GeneralRe: Dev studio question for experts Pin
valikac25-Aug-03 5:56
valikac25-Aug-03 5:56 
GeneralRe: Dev studio question for experts Pin
YaronNir25-Aug-03 20:40
YaronNir25-Aug-03 20:40 
QuestionMove text in edit box down and to the right 1-pixel? Pin
DanYELL25-Aug-03 3:55
DanYELL25-Aug-03 3:55 
GeneralOnPaint message Pin
El'Cachubrey25-Aug-03 3:55
El'Cachubrey25-Aug-03 3:55 
GeneralCannot load DLL, please Help ! Pin
Babayan Hovhannes25-Aug-03 3:51
Babayan Hovhannes25-Aug-03 3:51 

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.