Click here to Skip to main content
15,921,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuery about strsafe.h and afxv_32.h Pin
gan_esh26-Mar-07 21:29
gan_esh26-Mar-07 21:29 
AnswerRe: Query about strsafe.h and afxv_32.h Pin
Steve S28-Mar-07 2:55
Steve S28-Mar-07 2:55 
GeneralRe: Query about strsafe.h and afxv_32.h Pin
gan_esh28-Mar-07 22:48
gan_esh28-Mar-07 22:48 
QuestionOptimizing the Code Pin
narayanagvs26-Mar-07 20:45
narayanagvs26-Mar-07 20:45 
AnswerRe: Optimizing the Code Pin
Nibu babu thomas26-Mar-07 23:38
Nibu babu thomas26-Mar-07 23:38 
AnswerRe: Optimizing the Code Pin
Mark Salsbery27-Mar-07 7:40
Mark Salsbery27-Mar-07 7:40 
QuestionHow to get the drives name and type? Pin
PS@Codeproj26-Mar-07 19:44
PS@Codeproj26-Mar-07 19:44 
AnswerRe: How to get the drives name and type? [modified] Pin
Programm3r26-Mar-07 21:22
Programm3r26-Mar-07 21:22 
Hi,

Hope this helps ...
Take the following into consideration, and then have a look a the function _getdrive() on MSDN.

curdrive = _getdrive();
for( drive = 1; drive <= 26; drive++ )
{
  if( curdrive == drive )
  {
     sprintf(lpdrive, "%c:\\", drive + 'A' - 1 );
     sprintf(szDirPath,"%s",lpdrive);
     CreateDirectory(szDirPath, NULL);
  }
}


Regards,

-- modified at 5:53 Tuesday 27th March, 2007
Sorry didn't read the whole question ... thus my answer won't help, seeing that you want the physical name. Smile | :)


The only programmers that are better than C programmers are those who code in 1's and 0's..... Smile | :)

Smile | :) Programm3r

My Blog: ^_^

AnswerRe: How to get the drives name and type? Pin
PS@Codeproj27-Mar-07 2:03
PS@Codeproj27-Mar-07 2:03 
AnswerRe: How to get the drives name and type? Pin
David Crow27-Mar-07 3:15
David Crow27-Mar-07 3:15 
Questionthrow() Pin
vibindia26-Mar-07 19:14
vibindia26-Mar-07 19:14 
AnswerRe: throw() [modified] Pin
prasad_som26-Mar-07 19:33
prasad_som26-Mar-07 19:33 
GeneralRe: throw() Pin
Stephen Hewitt26-Mar-07 19:46
Stephen Hewitt26-Mar-07 19:46 
GeneralRe: throw() Pin
prasad_som26-Mar-07 19:52
prasad_som26-Mar-07 19:52 
GeneralRe: throw() Pin
vibindia26-Mar-07 19:55
vibindia26-Mar-07 19:55 
AnswerRe: throw() Pin
Stephen Hewitt26-Mar-07 19:48
Stephen Hewitt26-Mar-07 19:48 
AnswerRe: throw() Pin
Nemanja Trifunovic27-Mar-07 2:04
Nemanja Trifunovic27-Mar-07 2:04 
QuestionHow to load error icon on DialogBox at run time? Pin
Atul2326-Mar-07 19:06
Atul2326-Mar-07 19:06 
AnswerRe: How to load error icon on DialogBox at run time? Pin
prasad_som26-Mar-07 19:24
prasad_som26-Mar-07 19:24 
GeneralRe: How to load error icon on DialogBox at run time? Pin
Atul2326-Mar-07 21:38
Atul2326-Mar-07 21:38 
AnswerRe: How to load error icon on DialogBox at run time? Pin
prasad_som27-Mar-07 0:15
prasad_som27-Mar-07 0:15 
QuestionError : CommandLineToArgvW is not a member of '`global namespace'' Pin
harshadha26-Mar-07 18:48
harshadha26-Mar-07 18:48 
AnswerRe: Error : CommandLineToArgvW is not a member of '`global namespace'' Pin
Stephen Hewitt26-Mar-07 18:54
Stephen Hewitt26-Mar-07 18:54 
GeneralRe: Error : CommandLineToArgvW is not a member of '`global namespace'' Pin
harshadha26-Mar-07 19:00
harshadha26-Mar-07 19:00 
AnswerRe: Error : CommandLineToArgvW is not a member of '`global namespace'' Pin
prasad_som26-Mar-07 19:20
prasad_som26-Mar-07 19: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.