Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SHGetSpecialFolderPath Pin
MsmVc6-Dec-09 18:01
MsmVc6-Dec-09 18:01 
AnswerRe: SHGetSpecialFolderPath Pin
Iain Clarke, Warrior Programmer5-Dec-09 3:01
Iain Clarke, Warrior Programmer5-Dec-09 3:01 
QuestionDrive Letters (More than 26 Drives??) Pin
Bram van Kampen4-Dec-09 16:09
Bram van Kampen4-Dec-09 16:09 
AnswerRe: Drive Letters (More than 26 Drives??) Pin
«_Superman_»4-Dec-09 17:38
professional«_Superman_»4-Dec-09 17:38 
AnswerRe: Drive Letters (More than 26 Drives??) Pin
Iain Clarke, Warrior Programmer5-Dec-09 3:05
Iain Clarke, Warrior Programmer5-Dec-09 3:05 
GeneralRe: Drive Letters (More than 26 Drives??) [modified for Typo's] Pin
Bram van Kampen5-Dec-09 14:06
Bram van Kampen5-Dec-09 14:06 
QuestionRe: Drive Letters (More than 26 Drives??) [modified for Typo's] Pin
David Crow5-Dec-09 17:17
David Crow5-Dec-09 17:17 
GeneralRe: Drive Letters (More than 26 Drives??) [modified for Typo's] Pin
Iain Clarke, Warrior Programmer5-Dec-09 20:59
Iain Clarke, Warrior Programmer5-Dec-09 20:59 
I'm going to make your life harder still:

Taxes: Hierarchical Storage Management[^]

This is not something I've ever come across myself - but you're actively looking for edge cases, which I approve of 100%.

But a little easier also. I didn't trust explorer to show every possibility with the Tools | Map Network Drive command, so I looked at "net use /help" at a command prompt, and saw this following bit:

The syntax of this command is:

NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
        [/USER:[domainname\]username]
        [/USER:[dotted domain name\]username]   
        [/USER:[username@dotted domain name]      
        [/SMARTCARD]
        [/SAVECRED]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

....
devicename       Assigns a name to connect to the resource or specifies 
                 the device to be disconnected. There are two kinds of 
                 devicenames: disk drives (D: through Z:) and printers 
                 (LPT1: through LPT3:). Type an asterisk instead of a 
                 specific devicename to assign the next available
                 devicename.
....


So, that implies strongly that volume reparse stuff is only for actual partitions, not network drives.

So GetDriveType will work for you if the path starts with a drive letter.

Hope that helps!

Iain.

I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need contract work done, give me a job! http://cv.imcsoft.co.uk/[^]

AnswerRe: Drive Letters (More than 26 Drives??) Pin
David Crow5-Dec-09 17:19
David Crow5-Dec-09 17:19 
GeneralRe: Drive Letters (More than 26 Drives??) Pin
Bram van Kampen9-Dec-09 15:48
Bram van Kampen9-Dec-09 15:48 
QuestionAddAceToObjectsSecurityDescriptor problem Pin
RomTibi4-Dec-09 8:01
RomTibi4-Dec-09 8:01 
QuestionHow do I control what files get compiled? Pin
Interrobang4-Dec-09 6:36
Interrobang4-Dec-09 6:36 
AnswerRe: How do I control what files get compiled? [modified] Pin
transoft4-Dec-09 6:45
transoft4-Dec-09 6:45 
GeneralRe: How do I control what files get compiled? Pin
Interrobang4-Dec-09 7:30
Interrobang4-Dec-09 7:30 
GeneralRe: How do I control what files get compiled? Pin
T21024-Dec-09 12:43
T21024-Dec-09 12:43 
AnswerRe: How do I control what files get compiled? Pin
David Crow4-Dec-09 7:54
David Crow4-Dec-09 7:54 
GeneralRe: How do I control what files get compiled? Pin
Interrobang4-Dec-09 9:13
Interrobang4-Dec-09 9:13 
GeneralRe: How do I control what files get compiled? Pin
Bram van Kampen4-Dec-09 16:31
Bram van Kampen4-Dec-09 16:31 
QuestionHelp me use SetROP2 Pin
unistar_kl4-Dec-09 4:20
unistar_kl4-Dec-09 4:20 
AnswerRe: Help me use SetROP2 Pin
«_Superman_»4-Dec-09 4:41
professional«_Superman_»4-Dec-09 4:41 
GeneralRe: Help me use SetROP2 [modified] Pin
unistar_kl4-Dec-09 4:48
unistar_kl4-Dec-09 4:48 
AnswerRe: Help me use SetROP2 - Use ImageViewer Pin
Iain Clarke, Warrior Programmer5-Dec-09 3:08
Iain Clarke, Warrior Programmer5-Dec-09 3:08 
GeneralRe: Help me use SetROP2 - Use ImageViewer [modified] Pin
unistar_kl5-Dec-09 4:18
unistar_kl5-Dec-09 4:18 
GeneralRe: Help me use SetROP2 - Use ImageViewer Pin
PJ Arends5-Dec-09 6:59
professionalPJ Arends5-Dec-09 6:59 
GeneralRe: Help me use SetROP2 - Use ImageViewer Pin
Iain Clarke, Warrior Programmer5-Dec-09 8:20
Iain Clarke, Warrior Programmer5-Dec-09 8:20 

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.