WinAPI functions - similar functions as part of VS C++

This is a discussion on WinAPI functions - similar functions as part of VS C++ within the Windows Programming forums, part of the Platform Specific Boards category; If someone could explain all the "flavors" of functions. For example, there is a winAPI: GetLogicalDrives But, it seems there ...

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    44

    WinAPI functions - similar functions as part of VS C++

    If someone could explain all the "flavors" of functions.

    For example, there is a winAPI: GetLogicalDrives

    But, it seems there is a _getdrives function which mimic GetLogicalDrives. What is the term for "what" _getdrives is vs. GLD which is a win API function?

    Which should one use? Do these decisions/choices make any difference?

  2. #2
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    611
    Quote Originally Posted by jlewand View Post
    What is the term for "what" _getdrives is vs. GLD which is a win API function?
    It's a CRT function, as in, you can't use it unless you're using Microsoft's C Run-Time

    Which should one use? Do these decisions/choices make any difference?
    Whichever one you want, they both tie the code to Windows

  3. #3
    Registered User
    Join Date
    Feb 2012
    Posts
    44
    Quote Originally Posted by adeyblue View Post
    It's a CRT function, as in, you can't use it unless you're using Microsoft's C Run-Time


    Whichever one you want, they both tie the code to Windows
    Not following. Is _getdrives statically bound/linked into my C program's .exe? Or, is _getdrives search/found at run-time only?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I need some WinAPI functions
    By chrishowarth in forum Windows Programming
    Replies: 6
    Last Post: 04-22-2007, 02:41 PM
  2. passing strings from functions as the "return" part
    By fraktal in forum C Programming
    Replies: 8
    Last Post: 12-13-2005, 12:38 AM
  3. Very handy matrix functions - part 1
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 05-20-2004, 10:38 AM
  4. Very handy matrix functions - part 1
    By VirtualAce in forum Game Programming
    Replies: 1
    Last Post: 05-09-2004, 07:16 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21