Hi Norbert -
Microsfot publishes a very good page outlining dlls, their creation, integration, considerations, etc.
I don't have the capi20.dll on my machine (Windows 2K), maybe it has changed names?
There is a section about integrating dlls that seems to be exactly what you need.
Follow this link -> http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/winbase/dll_512r.htm
good luck
ben schulte
Measurement Studio
national instruments