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

C / C++ / MFC

 
AnswerRe: Need Help with CStdioFile Pin
Mark Salsbery3-May-08 7:55
Mark Salsbery3-May-08 7:55 
GeneralRe: Need Help with CStdioFile [modified] Pin
Larry Mills Sr4-May-08 3:28
Larry Mills Sr4-May-08 3:28 
GeneralRe: Need Help with CStdioFile Pin
Mark Salsbery4-May-08 6:17
Mark Salsbery4-May-08 6:17 
GeneralRe: Need Help with CStdioFile Pin
Larry Mills Sr4-May-08 9:10
Larry Mills Sr4-May-08 9:10 
GeneralRe: Need Help with CStdioFile Pin
Mark Salsbery4-May-08 11:04
Mark Salsbery4-May-08 11:04 
GeneralRe: Need Help with CStdioFile Pin
Larry Mills Sr5-May-08 2:48
Larry Mills Sr5-May-08 2:48 
QuestionRe: Need Help with CStdioFile Pin
David Crow5-May-08 3:00
David Crow5-May-08 3:00 
AnswerRe: Need Help with CStdioFile Pin
Larry Mills Sr5-May-08 4:57
Larry Mills Sr5-May-08 4:57 
David, Let me explain how the path is arrived at. The User selects certain options in a dialog; and upns the path is predetermined, hence the usage of a CString. The path will only be the same is the User makes the same selections. How am I to know what the User wants before he makes an selection? I can't, so I must be prepared to use his selections for the path. Belie ve me it's complicated when you are building a path according to selections made by a User. As you can see I can't do the _T("%s") rutine everytime, in advance. The data being gathered is for different wells and their locations(paths). I no nothing about what you mentioned as "L" or how to do it.
According to Mark CStrings are suppose to be the same as TCHAR's, but my compiler doesn't know that yet!
the code Mark compiled and ran on his machine and he didn't use the _T("%s") or the "L" why won't it on mine? is the question and evidently the resolution.
Of course I further edited it with the _T("%s") and it compiled and ran correctly. But I can't hardcode every path in the program!

A C++ programming language novice, but striving to learn
GeneralRe: Need Help with CStdioFile Pin
David Crow5-May-08 5:25
David Crow5-May-08 5:25 
GeneralRe: Need Help with CStdioFile Pin
Mark Salsbery5-May-08 5:55
Mark Salsbery5-May-08 5:55 
GeneralRe: Need Help with CStdioFile Pin
Mark Salsbery5-May-08 6:05
Mark Salsbery5-May-08 6:05 
GeneralRe: Need Help with CStdioFile Pin
Mark Salsbery5-May-08 4:59
Mark Salsbery5-May-08 4:59 
GeneralRe: Need Help with CStdioFile Pin
Larry Mills Sr5-May-08 6:42
Larry Mills Sr5-May-08 6:42 
GeneralRe: Need Help with CStdioFile Pin
Mark Salsbery5-May-08 6:47
Mark Salsbery5-May-08 6:47 
GeneralRe: Need Help with CStdioFile Pin
Larry Mills Sr5-May-08 7:11
Larry Mills Sr5-May-08 7:11 
GeneralRe: Need Help with CStdioFile Pin
Larry Mills Sr6-May-08 5:42
Larry Mills Sr6-May-08 5:42 
GeneralRe: Need Help with CStdioFile Pin
Mark Salsbery7-May-08 6:33
Mark Salsbery7-May-08 6:33 
GeneralRe: Need Help with CStdioFile Pin
Larry Mills Sr8-May-08 8:03
Larry Mills Sr8-May-08 8:03 
GeneralRe: Need Help with CStdioFile Pin
Larry Mills Sr11-May-08 16:22
Larry Mills Sr11-May-08 16:22 
GeneralRe: Need Help with CStdioFile Pin
Mark Salsbery11-May-08 16:50
Mark Salsbery11-May-08 16:50 
QuestionHow can use Keyboard interaction to application? Pin
Le@rner3-May-08 2:03
Le@rner3-May-08 2:03 
AnswerRe: How can use Keyboard interaction to application? Pin
Nelek5-May-08 1:41
protectorNelek5-May-08 1:41 
GeneralRe: How can use Keyboard interaction to application? Pin
Le@rner5-May-08 20:20
Le@rner5-May-08 20:20 
QuestionDebug and release modes [modified] Pin
Anthony Appleyard2-May-08 23:14
Anthony Appleyard2-May-08 23:14 
AnswerRe: Debug and release modes Pin
ShilpiP3-May-08 1:35
ShilpiP3-May-08 1:35 

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.