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

C / C++ / MFC

 
GeneralRe: Unicode identification at run time - Help Pin
dharani6-Sep-06 21:07
dharani6-Sep-06 21:07 
AnswerRe: Unicode identification at run time - Help Pin
Michael Dunn6-Sep-06 15:18
sitebuilderMichael Dunn6-Sep-06 15:18 
GeneralRe: Unicode identification at run time - Help Pin
dharani6-Sep-06 21:10
dharani6-Sep-06 21:10 
Questionupgrade to VS2005 Pin
si_695-Sep-06 22:55
si_695-Sep-06 22:55 
QuestionDrive Names - Please reply Pin
velayudhan_raj5-Sep-06 22:32
velayudhan_raj5-Sep-06 22:32 
AnswerRe: Drive Names - Please reply Pin
Nibu babu thomas5-Sep-06 22:55
Nibu babu thomas5-Sep-06 22:55 
GeneralRe: Drive Names - Please reply Pin
velayudhan_raj5-Sep-06 23:14
velayudhan_raj5-Sep-06 23:14 
GeneralRe: Drive Names - Please reply Pin
Nibu babu thomas5-Sep-06 23:29
Nibu babu thomas5-Sep-06 23:29 
velayudhan_raj wrote:
It is not completely successful.
It is just returning a single drive's name

Actually I want all the name's of all drives in my system.


You should first read the documentation carefully Smile | :)

Quote from MSDN...

lpBuffer
[out] Pointer to a buffer that receives a series of null-terminated strings, one for each valid drive in the system, that end with a second null character. The following example shows the buffer contents with <null> representing the terminating null character.
c:\<null>d:\<null><null>

End quote...

I guess you are trying to assign to a string which terminates where it finds a null character, hence you are not able to get the whole drives.



Nibu thomas
A Developer

Programming tips[^]  My site[^]

GeneralRe: Drive Names - Please reply Pin
CraZyToLearn6-Sep-06 0:13
CraZyToLearn6-Sep-06 0:13 
GeneralRe: Drive Names - Please reply [modified] Pin
Hamid_RT6-Sep-06 0:28
Hamid_RT6-Sep-06 0:28 
QuestionRe: Drive Names - Please reply Pin
David Crow6-Sep-06 4:11
David Crow6-Sep-06 4:11 
AnswerRe: Drive Names - Please reply Pin
Hamid_RT6-Sep-06 4:27
Hamid_RT6-Sep-06 4:27 
GeneralRe: Drive Names - Please reply Pin
David Crow6-Sep-06 6:23
David Crow6-Sep-06 6:23 
GeneralRe: Drive Names - Please reply Pin
David Crow6-Sep-06 4:26
David Crow6-Sep-06 4:26 
QuestionCFile Data Removal Pin
payal3355-Sep-06 22:27
payal3355-Sep-06 22:27 
AnswerRe: CFile Data Removal Pin
ThatsAlok5-Sep-06 22:35
ThatsAlok5-Sep-06 22:35 
AnswerRe: CFile Data Removal Pin
Nibu babu thomas5-Sep-06 22:58
Nibu babu thomas5-Sep-06 22:58 
AnswerRe: CFile Data Removal Pin
Viorel.5-Sep-06 23:07
Viorel.5-Sep-06 23:07 
GeneralRe: CFile Data Removal Pin
payal3355-Sep-06 23:15
payal3355-Sep-06 23:15 
QuestionFlex Gird & Chart in VC++ Pin
victorsarathy5-Sep-06 20:55
victorsarathy5-Sep-06 20:55 
AnswerRe: Flex Gird & Chart in VC++ Pin
ThatsAlok5-Sep-06 22:38
ThatsAlok5-Sep-06 22:38 
QuestionLDAP Memory Issue Pin
Dribble5-Sep-06 20:49
Dribble5-Sep-06 20:49 
AnswerRe: LDAP Memory Issue Pin
Waldermort6-Sep-06 0:45
Waldermort6-Sep-06 0:45 
QuestionHow to suppress reboot while installing MSI package Pin
LiYS5-Sep-06 20:48
LiYS5-Sep-06 20:48 
AnswerRe: How to suppress reboot while installing MSI package Pin
LiYS5-Sep-06 22:42
LiYS5-Sep-06 22:42 

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.