Results 1 to 13 of 13

Thread: [RESOLVED] API? How did they know about it ?

  1. #1

    Thread Starter
    Fanatic Member aNubies's Avatar
    Join Date
    Aug 2008
    Posts
    558

    Resolved [RESOLVED] API? How did they know about it ?

    I'm just wondering how programmer know what api should they call on what library it belong. How and where can i get api function. Not using internet of course, cause im thinking if i am in a situation "emergency" that i need an api function where should i get it and how to call it. Hope you got my point

  2. #2
    Hyperactive Member Davadvice's Avatar
    Join Date
    Apr 2007
    Location
    Glasgow (Scotland)
    Posts
    440

    Re: API? How did they know about it ?

    hi, there is an application that list all the API functions a calls. think it may be in the API section.

    David
    This is Blank

  3. #3

  4. #4

    Thread Starter
    Fanatic Member aNubies's Avatar
    Join Date
    Aug 2008
    Posts
    558

    Re: API? How did they know about it ?

    Late reply here , thanks to you guys and RhinoBull so theres no other way to look for api function via looking in registry or system32 and so on.

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: API? How did they know about it ?

    There might be (I don't know of any), but even if there is you would not know how to use them without some documentation.

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: API? How did they know about it ?

    You can download the API VIewer utility and API Guide from allapi.mentalis.org for off line viewing and API definitions and declarations.

    API Viewer utility download link in my signature.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Fanatic Member aNubies's Avatar
    Join Date
    Aug 2008
    Posts
    558

    Re: API? How did they know about it ?

    Hmph i see so all programmers are rely on the documentation. Thank you all.

  8. #8
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: [RESOLVED] API? How did they know about it ?

    Of course we do.
    Imagine you developed some dll and published it without any documentation what so ever.
    Everybody will be asking you about what it does, list of functions (and arguments they accept, etc, etc...) it has but you'd say something like "you guys are smart, you can fiigure it out on your own...".
    Get the point? I hope you do.

  9. #9
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: [RESOLVED] API? How did they know about it ?

    There are ways to look at functions exposed in dlls, but they are painful without documentation. You could see the arguments needed, infer a guess about what the function does based on the name of the function and the name of the dll, then try blasting it with various argument values, hoping to see some pattern in what happens, but it would be a chore. Many functions return a code, which is generally an integer. Is this a meaningful return? An error message? Success? How would you even know?

    So what is it you are hoping to do?
    My usual boring signature: Nothing

  10. #10
    Hyperactive Member Davadvice's Avatar
    Join Date
    Apr 2007
    Location
    Glasgow (Scotland)
    Posts
    440

    Re: API? How did they know about it ?

    Quote Originally Posted by RobDog888 View Post
    You can download the API VIewer utility and API Guide from allapi.mentalis.org for off line viewing and API definitions and declarations.

    API Viewer utility download link in my signature.
    thats what i was talking about thanks Rob !!
    This is Blank

  11. #11

  12. #12
    Hyperactive Member Davadvice's Avatar
    Join Date
    Apr 2007
    Location
    Glasgow (Scotland)
    Posts
    440

    Re: API? How did they know about it ?

    Quote Originally Posted by RhinoBull View Post
    I'm sure you missed few links I provided in post #3.
    too much reading for me, RB a thanks to you also.

    David
    This is Blank

  13. #13

    Thread Starter
    Fanatic Member aNubies's Avatar
    Join Date
    Aug 2008
    Posts
    558

    Re: [RESOLVED] API? How did they know about it ?

    Yeah, I get your point, RB . Thanks

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