Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Get a TCHAR into a CString? Pin
CPallini7-May-08 7:42
mveCPallini7-May-08 7:42 
GeneralRe: How to Get a TCHAR into a CString? Pin
Mark Salsbery7-May-08 7:53
Mark Salsbery7-May-08 7:53 
GeneralRe: How to Get a TCHAR into a CString? Pin
Larry Mills Sr7-May-08 10:56
Larry Mills Sr7-May-08 10:56 
GeneralRe: How to Get a TCHAR into a CString? Pin
Mark Salsbery7-May-08 11:13
Mark Salsbery7-May-08 11:13 
GeneralRe: How to Get a TCHAR into a CString? Pin
Larry Mills Sr7-May-08 12:37
Larry Mills Sr7-May-08 12:37 
GeneralRe: How to Get a TCHAR into a CString? Pin
Mark Salsbery9-May-08 7:36
Mark Salsbery9-May-08 7:36 
AnswerRe: How to Get a TCHAR into a CString? Pin
Mark Salsbery9-May-08 7:47
Mark Salsbery9-May-08 7:47 
GeneralRe: How to Get a TCHAR into a CString? Pin
Larry Mills Sr9-May-08 16:05
Larry Mills Sr9-May-08 16:05 
I have walked through SetPath and I have stepped through FileSaveys. The values are exactly the same. I don't know what's going on; I just know that it is not doing as it is supposed to. I believe everything you are telling me Mark. Believe me that the error message is telling me my path is wrong when I KNOW it is the same. Or the debugger is lying to me. It's there and it's correct!. I took the same path and created a different CString varable, placed it into that CString's constructor and there was no problems. If you woul, use my class and create a file-path by adding CStrings together and see it that works on your machine. Again I've checked SetPath, and at the very point that I transfer what str has in it, to the public CString varable m_csFileName is correct. m_csFileName shows in the debug as to have received the correct path. in SetPath. it also shows the correct path in FileSaveSys right up to the Open STATEMENT. I can hardcode this path. But what worries me is the actual filename I will be lokking for in the future may not be there. m_csIsFileName will be unique and I won't know it's name because the program created that name by adding the date and time to the end of the m_csWellName. "SystemDB.sdb" is only a practice/proveable file for testing the ability of the program to work correctly to that point. If the well name was Murphy13 and the date was Jan 12, 2008 the time the User called for the file is: 11:02am, the filename would be "Murphy13011220081102.ddb". But I won't know anything about that! That's why this part must work correctly, and I can't get my CStrings to coopporate.

A C++ programming language novice, but striving to learn
QuestionToolbar in dialog based project Pin
ilgale7-May-08 4:28
ilgale7-May-08 4:28 
AnswerRe: Toolbar in dialog based project Pin
Mark Salsbery7-May-08 7:01
Mark Salsbery7-May-08 7:01 
QuestionCapturing a video using opencv on MFC Pin
Collin Xie7-May-08 4:18
Collin Xie7-May-08 4:18 
AnswerRe: Capturing a video using opencv on MFC Pin
srisuwan917-Jan-10 20:56
srisuwan917-Jan-10 20:56 
QuestionMFC Application and Web service Pin
BadJerry7-May-08 4:05
BadJerry7-May-08 4:05 
AnswerRe: MFC Application and Web service Pin
led mike7-May-08 4:28
led mike7-May-08 4:28 
GeneralRe: MFC Application and Web service Pin
BadJerry7-May-08 4:40
BadJerry7-May-08 4:40 
GeneralRe: MFC Application and Web service Pin
led mike7-May-08 5:05
led mike7-May-08 5:05 
AnswerRe: MFC Application and Web service Pin
Christopher Duncan7-May-08 14:20
Christopher Duncan7-May-08 14:20 
GeneralRe: MFC Application and Web service Pin
BadJerry7-May-08 23:13
BadJerry7-May-08 23:13 
GeneralRe: MFC Application and Web service Pin
Christopher Duncan8-May-08 6:04
Christopher Duncan8-May-08 6:04 
GeneralRe: MFC Application and Web service Pin
BadJerry8-May-08 6:59
BadJerry8-May-08 6:59 
GeneralRe: MFC Application and Web service Pin
Christopher Duncan8-May-08 7:27
Christopher Duncan8-May-08 7:27 
GeneralRe: MFC Application and Web service Pin
BadJerry8-May-08 10:13
BadJerry8-May-08 10:13 
QuestionWM_TIMER & MessageBox Pin
CPallini7-May-08 3:58
mveCPallini7-May-08 3:58 
AnswerRe: WM_TIMER & MessageBox Pin
BadJerry7-May-08 4:09
BadJerry7-May-08 4:09 
QuestionRe: WM_TIMER & MessageBox Pin
CPallini7-May-08 4:17
mveCPallini7-May-08 4:17 

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.