Solved

API documentation

Posted on 2000-04-13
8
275 Views
Last Modified: 2010-04-04
I saw quite a few pieces of code before, that use functions in other dll files, such as kernel32.dll.

Where can I get a good documentation about these functions/dlls ?
I mean the "main" Windows-dlls.

Regards, Oli
0
Comment
Question by:Oli2
8 Comments
 
LVL 1

Expert Comment

by:flooder
ID: 2712113
The best I know of is the API help that comes with Borland Delphi and of course the SDK-kit which ships with delphi as well. It gives a short description of what the functions does and the different parameters and there values.
0
 
LVL 6

Expert Comment

by:edey
ID: 2712117
you should have a help file, win32.hlp eith the api functions listed.  the "quick info" for each function will tell you where it is defined.

Gl
Mike
0
 

Expert Comment

by:dentener
ID: 2712161
I think you can find nearly all the information you want on the MSDN library CD's. Nearly all API functions and much more information are covered on these CD's.

If you have a permanent or fast internet connection, you can also try www.msdn.microsoft.com and use the name of the API function you want information about as the search phrase.

Regards,

Paul
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 1

Author Comment

by:Oli2
ID: 2712316
sorry, but:
The API help that ships with Delphi (that is the win32.hlp file) doesn't give me any information about functions in external dlls, like for example the RegisterServiceProcess in kernel32.dll.

on www.msdn.microsoft.com I don't find any good documentation on this stuff also (am I too stupid?)

What I'm looking for is something like
a list of most-used-dlls and their content.

Like this:
"kernel32.dll"
function RegisterServiceProcess
blabla description blabla
function HowShouldIknowWhatsInside
blabla another description blabla

There are people that tell me:
solve your problem by calling
function xx : yy external 'some.dll';

How do they know what's inside some.dll ?

Regards, Oli
0
 
LVL 17

Accepted Solution

by:
inthe earned 38 total points
ID: 2712662
if want to know what api functions are inside what dll then use tdump on the dll.
tdump is in delphi\bin dir.

msdn is definetly best place to find out api stuff.it has listings and example c code for mostly every api exist ,well not all but there is not much you cant find at msdn.
for instance find a function in a dll from tdump and search msdn for it you will find the answer/correct function calls and if lucky some code.
then search internet for example of same function and code in delphi.

0
 
LVL 1

Author Comment

by:Oli2
ID: 2712851
Thanx Barry!
It's not as much comfort as I would like to have, but it's a starting point...

Regards, Oli
0
 
LVL 17

Expert Comment

by:inthe
ID: 2712973
ps,
the best books of api functions with full xamples for delphi is the "tomes" series.

tomes win32 core api
and
tomes win32 graphical api are 2 of them and can be got from www.amazon.com for good prices.
0
 
LVL 3

Expert Comment

by:bryan7
ID: 2714655
"SDK-kit which ships with delphi"

???
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question