From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,2d2580ac72b4a4c2 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,2d2580ac72b4a4c2 X-Google-Attributes: gid103376,public From: "Dennis Weldy" Subject: Re: Dll files Date: 1998/02/20 Message-ID: <$rsyQ1lP9GA.184@news2.ingr.com>#1/1 X-Deja-AN: 327105837 References: <34E9EEB7.4723FD1E@vci.net> <01bd3cd8$2ecf9340$LocalHost@xhv46.dial.pipex.com> <34EC8B90.EEDC9238@vci.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Intergraph Newsgroups: comp.lang.c++,comp.lang.ada Date: 1998-02-20T00:00:00+00:00 List-Id: If you can call DLL functions written in C from your Ada program (through a library file) then you can call the Win32 API. Linking with the API just involves using the correct import library (GDI, KERNEL, etc). Dennis Andy Perkins wrote in message <34EC8B90.EEDC9238@vci.net>... >Nick Roberts wrote: > >> Use of DLLs implies Windows, which implies availability of the Windows GDI >> (Graphical Device Interface), which is a part of the Windows API, and will >> drive SVGA as well as umpteen other graphics protocols. So it sounds to me >> like you just want to use the Windows API direct. > > That would be the best course, if I were planning to use the finished >product in a C program. The DLL will eventually be converted to an Ada library >file and imported into an Ada program. Since the DLL can be converted to an >Ada library file, Ada can use (in a manner of speaking) DLL files, but as far >as I know, there is no way to use the Windows API from within Ada. > >Andy >