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

C / C++ / MFC

 
GeneralRe: AddSlashes Pin
talkster526-May-05 4:16
talkster526-May-05 4:16 
GeneralRe: AddSlashes Pin
John M. Drescher26-May-05 4:26
John M. Drescher26-May-05 4:26 
GeneralRe: AddSlashes Pin
talkster526-May-05 4:30
talkster526-May-05 4:30 
GeneralRe: AddSlashes Pin
Ravi Bhavnani26-May-05 4:36
professionalRavi Bhavnani26-May-05 4:36 
GeneralRe: AddSlashes Pin
John M. Drescher26-May-05 4:48
John M. Drescher26-May-05 4:48 
GeneralRe: AddSlashes Pin
toxcct26-May-05 5:02
toxcct26-May-05 5:02 
GeneralRe: AddSlashes Pin
David Crow26-May-05 4:50
David Crow26-May-05 4:50 
GeneralRe: AddSlashes Pin
toxcct26-May-05 4:27
toxcct26-May-05 4:27 
the double slash is just a representation when you edit your code to say that you store the only character slash ('\\' = \) instead of an escape character.

for example, if you make this :
CString strPath = ".\nonoFolder" it will see \n and replace it as a CR-LF.
if you make instead CString strPath = ".\\nonoFolder", there's no more problem.

i dont know how you get the path however, but if you get it from a "get folder" dialog, even if the user see only one slash, the storing string is correct...


TOXCCT >>> GEII power
[toxcct][VisualCalc]
GeneralRe: AddSlashes Pin
talkster526-May-05 8:12
talkster526-May-05 8:12 
GeneralVideo Pin
Usman Tasleem Akshaf26-May-05 3:29
Usman Tasleem Akshaf26-May-05 3:29 
GeneralRe: Video Pin
Ravi Bhavnani26-May-05 4:39
professionalRavi Bhavnani26-May-05 4:39 
GeneralRe: Video Pin
Usman Tasleem Akshaf26-May-05 7:04
Usman Tasleem Akshaf26-May-05 7:04 
GeneralRe: Video Pin
Ravi Bhavnani26-May-05 10:57
professionalRavi Bhavnani26-May-05 10:57 
GeneralRe: Video Pin
Usman Tasleem Akshaf26-May-05 23:58
Usman Tasleem Akshaf26-May-05 23:58 
GeneralRe: Video Pin
FlyingTinman27-May-05 8:40
FlyingTinman27-May-05 8:40 
GeneralRe: Video Pin
Usman Tasleem Akshaf28-May-05 6:51
Usman Tasleem Akshaf28-May-05 6:51 
GeneralRe: Video Pin
FlyingTinman31-May-05 9:33
FlyingTinman31-May-05 9:33 
Generalhelp creating. Pin
scoroop26-May-05 3:07
scoroop26-May-05 3:07 
GeneralRe: help creating. Pin
David Crow26-May-05 3:38
David Crow26-May-05 3:38 
GeneralGraphical Active X Control Operation Pin
jerry1211a26-May-05 2:03
jerry1211a26-May-05 2:03 
GeneralMFC - Disabled buttons (not CDialog) Pin
gnilk26-May-05 1:01
gnilk26-May-05 1:01 
GeneralRe: MFC - Disabled buttons (not CDialog) Pin
toxcct26-May-05 1:10
toxcct26-May-05 1:10 
GeneralRe: MFC - Disabled buttons (not CDialog) Pin
Iain Clarke, Warrior Programmer26-May-05 2:20
Iain Clarke, Warrior Programmer26-May-05 2:20 
GeneralRe: MFC - Disabled buttons (not CDialog) Pin
gnilk26-May-05 2:30
gnilk26-May-05 2:30 
GeneralCompile erros using CDOSYS.H Pin
-Dy26-May-05 0:54
-Dy26-May-05 0:54 

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.