Click here to Skip to main content
15,918,624 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Beginner's Question Pin
CPallini11-Sep-09 3:14
mveCPallini11-Sep-09 3:14 
GeneralRe: Beginner's Question Pin
UKM_Student11-Sep-09 3:19
UKM_Student11-Sep-09 3:19 
GeneralRe: Beginner's Question Pin
UKM_Student11-Sep-09 3:32
UKM_Student11-Sep-09 3:32 
QuestionDetecting identical path names Pin
Mattias G11-Sep-09 1:08
Mattias G11-Sep-09 1:08 
AnswerRe: Detecting identical path names Pin
Randor 11-Sep-09 1:30
professional Randor 11-Sep-09 1:30 
GeneralRe: Detecting identical path names Pin
Mattias G11-Sep-09 1:36
Mattias G11-Sep-09 1:36 
GeneralRe: Detecting identical path names Pin
Randor 11-Sep-09 1:40
professional Randor 11-Sep-09 1:40 
GeneralRe: Detecting identical path names [modified] Pin
Mattias G11-Sep-09 2:07
Mattias G11-Sep-09 2:07 
I didn't even know there was a group of calls starting with WNetXXXXX... Anyway, WNetGetUniversalName did half the trick converting X: into \\Tyrus\share, but that call won't help me with short/long names, or upper/lower case, or relative paths. Was hoping for something like ArePathsReferringToTheSameFile, but will manage with the above and PathMakePretty or similar.

[edit]
Turns out that WNetGetUniversalName wasn't that perfect for my purpose, as it can't handle paths that are local paths (not on a network resource at all). Fixed by using PathIsNetworkPath, but I would rather not do all these conversions and checks manually...

modified on Friday, September 11, 2009 8:28 AM

GeneralRe: Detecting identical path names Pin
David Crow11-Sep-09 3:40
David Crow11-Sep-09 3:40 
GeneralRe: Detecting identical path names Pin
Randor 13-Sep-09 0:19
professional Randor 13-Sep-09 0:19 
GeneralRe: Detecting identical path names Pin
Member 419459314-Sep-09 9:21
Member 419459314-Sep-09 9:21 
GeneralRe: Detecting identical path names Pin
Mattias G14-Sep-09 22:53
Mattias G14-Sep-09 22:53 
GeneralRe: Detecting identical path names Pin
Member 419459315-Sep-09 9:31
Member 419459315-Sep-09 9:31 
GeneralRe: Detecting identical path names Pin
Randor 16-Sep-09 2:09
professional Randor 16-Sep-09 2:09 
GeneralRe: Detecting identical path names Pin
Member 419459316-Sep-09 5:48
Member 419459316-Sep-09 5:48 
QuestionIs There a way to set WS_EX_RTLREADING style only to some columns of ClistCtrl Pin
A&Ms11-Sep-09 0:34
A&Ms11-Sep-09 0:34 
Questionvisual studio WINAPI directive Pin
FotisSs11-Sep-09 0:15
FotisSs11-Sep-09 0:15 
AnswerRe: visual studio WINAPI directive Pin
CPallini11-Sep-09 0:51
mveCPallini11-Sep-09 0:51 
AnswerRe: visual studio WINAPI directive Pin
Stuart Dootson11-Sep-09 1:02
professionalStuart Dootson11-Sep-09 1:02 
QuestionHow to make image in a rich edit? Pin
mr bard210-Sep-09 23:42
mr bard210-Sep-09 23:42 
AnswerRe: How to make image in a rich edit? Pin
Mattias G11-Sep-09 1:01
Mattias G11-Sep-09 1:01 
GeneralRe: How to make image in a rich edit? Pin
mr bard211-Sep-09 23:39
mr bard211-Sep-09 23:39 
AnswerRe: How to make image in a rich edit? Pin
Nuri Ismail11-Sep-09 2:29
Nuri Ismail11-Sep-09 2:29 
GeneralRe: How to make image in a rich edit? Pin
mr bard211-Sep-09 23:44
mr bard211-Sep-09 23:44 
GeneralRe: How to make image in a rich edit? Pin
kilt14-Sep-09 2:24
kilt14-Sep-09 2:24 

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.