CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    1

    Number of Driver

    Is there a way to find the total number of drives on a PC from Visual C++ 5.0
    Local and mapped network drives.


  2. #2
    Join Date
    Apr 1999
    Location
    Chennai, India
    Posts
    48

    Re: Number of Driver

    check GetLogicalDrives().

    U have to count how many '1's are set in the return value !

    If ur doing good network programming in windows check WNet Functions !

    Have a nice day !


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured