Click here to Skip to main content
15,925,255 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCString Pathnames - backslash Pin
im7911-Jan-07 23:19
im7911-Jan-07 23:19 
AnswerRe: CString Pathnames - backslash Pin
_AnsHUMAN_ 11-Jan-07 23:41
_AnsHUMAN_ 11-Jan-07 23:41 
AnswerRe: CString Pathnames - backslash Pin
CPallini11-Jan-07 23:45
mveCPallini11-Jan-07 23:45 
AnswerRe: CString Pathnames - backslash Pin
toxcct12-Jan-07 0:04
toxcct12-Jan-07 0:04 
AnswerRe: CString Pathnames - backslash Pin
ThatsAlok12-Jan-07 2:36
ThatsAlok12-Jan-07 2:36 
GeneralRe: CString Pathnames - backslash Pin
im7912-Jan-07 2:51
im7912-Jan-07 2:51 
GeneralRe: CString Pathnames - backslash Pin
toxcct12-Jan-07 3:07
toxcct12-Jan-07 3:07 
GeneralRe: CString Pathnames - backslash Pin
im7916-Jan-07 0:34
im7916-Jan-07 0:34 
Hi toxcct, hi everybody,
i' get the pathname CString with CFileDialog and then i pass it to function casts the CString to char* then it opens the file with fopenf. The C function fopenf is used because of a legacy code with a lot of fscanf calls with a specific foramt.
I'm forecd to use theh old code for many reasons. Now, the orignal code workes with double backslashes, and if don't change the single backslashes to double, it won't work. Now i'm more confused Confused | :confused:
Is there a difference when useing CFile::open() instead? In that case i need to rewrite the whole fscanf block Unsure | :~

Thank u all for u help Smile | :)
GeneralRe: CString Pathnames - backslash Pin
toxcct16-Jan-07 1:26
toxcct16-Jan-07 1:26 
GeneralRe: CString Pathnames - backslash Pin
#realJSOP12-Jan-07 23:31
professional#realJSOP12-Jan-07 23:31 
GeneralRe: CString Pathnames - backslash Pin
toxcct13-Jan-07 0:15
toxcct13-Jan-07 0:15 
GeneralRe: CString Pathnames - backslash Pin
#realJSOP13-Jan-07 3:29
professional#realJSOP13-Jan-07 3:29 
GeneralRe: CString Pathnames - backslash Pin
ThatsAlok14-Jan-07 18:22
ThatsAlok14-Jan-07 18:22 
QuestionOnKillFocus Pin
Gupta Suraj11-Jan-07 22:36
Gupta Suraj11-Jan-07 22:36 
AnswerRe: OnKillFocus Pin
James R. Twine12-Jan-07 1:37
James R. Twine12-Jan-07 1:37 
QuestionHow to Call a static member variable from another DLL Pin
uday kiran janaswamy11-Jan-07 22:28
uday kiran janaswamy11-Jan-07 22:28 
AnswerRe: How to Call a static member variable from another DLL Pin
Gupta Suraj11-Jan-07 23:05
Gupta Suraj11-Jan-07 23:05 
Questioncast template class A : public B, public vector [modified] Pin
yeti1111-Jan-07 22:10
yeti1111-Jan-07 22:10 
AnswerRe: cast template class A : public B, public vector Pin
Cedric Moonen11-Jan-07 22:14
Cedric Moonen11-Jan-07 22:14 
GeneralRe: cast template class A : public B, public vector [modified] Pin
yeti1111-Jan-07 22:16
yeti1111-Jan-07 22:16 
GeneralRe: cast template class A : public B, public vector Pin
Cedric Moonen11-Jan-07 22:31
Cedric Moonen11-Jan-07 22:31 
GeneralRe: cast template class A : public B, public vector [modified] Pin
yeti1111-Jan-07 22:40
yeti1111-Jan-07 22:40 
GeneralRe: cast template class A : public B, public vector Pin
yeti1111-Jan-07 23:11
yeti1111-Jan-07 23:11 
AnswerRe: cast template class A : public B, public vector Pin
Arman S.12-Jan-07 1:59
Arman S.12-Jan-07 1:59 
GeneralRe: cast template class A : public B, public vector Pin
yeti1112-Jan-07 2:10
yeti1112-Jan-07 2:10 

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.