Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionThead questions Pin
Nicknz30-Aug-06 19:13
Nicknz30-Aug-06 19:13 
AnswerRe: Thead questions Pin
cmk1-Sep-06 0:08
cmk1-Sep-06 0:08 
GeneralRe: Thead questions Pin
Nicknz3-Sep-06 14:09
Nicknz3-Sep-06 14:09 
Questionlocale dll, sugg please Pin
spicy_kid200030-Aug-06 18:21
spicy_kid200030-Aug-06 18:21 
AnswerRe: locale dll, sugg please Pin
Waldermort30-Aug-06 20:14
Waldermort30-Aug-06 20:14 
AnswerRe: locale dll, sugg please Pin
toxcct30-Aug-06 21:48
toxcct30-Aug-06 21:48 
QuestionDIB and normal BITMAP Pin
HakunaMatada30-Aug-06 18:08
HakunaMatada30-Aug-06 18:08 
AnswerRe: DIB and normal BITMAP Pin
Joe Woodbury30-Aug-06 18:27
professionalJoe Woodbury30-Aug-06 18:27 
AnswerRe: DIB and normal BITMAP Pin
Jörgen Sigvardsson30-Aug-06 21:38
Jörgen Sigvardsson30-Aug-06 21:38 
Questioncopy/store to a file Pin
thathvamsi30-Aug-06 17:22
thathvamsi30-Aug-06 17:22 
AnswerRe: copy/store to a file Pin
Rinu_Raj30-Aug-06 17:38
Rinu_Raj30-Aug-06 17:38 
GeneralRe: copy/store to a file Pin
thathvamsi30-Aug-06 18:01
thathvamsi30-Aug-06 18:01 
GeneralRe: copy/store to a file Pin
Rinu_Raj30-Aug-06 18:10
Rinu_Raj30-Aug-06 18:10 
GeneralRe: copy/store to a file Pin
thathvamsi30-Aug-06 18:29
thathvamsi30-Aug-06 18:29 
GeneralRe: copy/store to a file Pin
Rinu_Raj30-Aug-06 19:09
Rinu_Raj30-Aug-06 19:09 
GeneralRe: copy/store to a file Pin
thathvamsi30-Aug-06 20:05
thathvamsi30-Aug-06 20:05 
GeneralRe: copy/store to a file Pin
kakan30-Aug-06 20:25
professionalkakan30-Aug-06 20:25 
GeneralRe: copy/store to a file Pin
thathvamsi30-Aug-06 20:37
thathvamsi30-Aug-06 20:37 
GeneralRe: copy/store to a file Pin
kakan30-Aug-06 20:44
professionalkakan30-Aug-06 20:44 
GeneralRe: copy/store to a file Pin
thathvamsi30-Aug-06 20:49
thathvamsi30-Aug-06 20:49 
GeneralRe: copy/store to a file Pin
kakan30-Aug-06 20:55
professionalkakan30-Aug-06 20:55 
Check the return value from the TestFile.Open call, such as:

<br />
CFile TestFile;<br />
CString csFileName = "C:/Documents/TestFile.txt"; <br />
if(TestFile.Open(csFileName,CFile::modeCreate | CFile::modeWrite)) {<br />
    TestFile.Write(&Rx_Buf,3000);<br />
    TestFile.Close();<br />
}<br />
else {<br />
    // Cannot create the file<br />
}<br />


My guess is that there are no C:/Documents folder.


Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson

GeneralRe: copy/store to a file Pin
thathvamsi30-Aug-06 21:00
thathvamsi30-Aug-06 21:00 
GeneralRe: copy/store to a file Pin
Rinu_Raj30-Aug-06 21:06
Rinu_Raj30-Aug-06 21:06 
GeneralRe: copy/store to a file Pin
kakan30-Aug-06 21:15
professionalkakan30-Aug-06 21:15 
GeneralRe: copy/store to a file Pin
thathvamsi30-Aug-06 21:34
thathvamsi30-Aug-06 21:34 

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.