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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2d2580ac72b4a4c2 X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,2d2580ac72b4a4c2 X-Google-Attributes: gid109fba,public From: "Jerry van Dijk" Subject: Re: Dll files Date: 1998/02/20 Message-ID: <01bd3e45$d47d7820$662c5c8b@aptiva>#1/1 X-Deja-AN: 327055931 References: <34E9EEB7.4723FD1E@vci.net> <01bd3cd8$2ecf9340$LocalHost@xhv46.dial.pipex.com> <34EC8B90.EEDC9238@vci.net> Organization: Ordina Finance Newsgroups: comp.lang.c++,comp.lang.ada Date: 1998-02-20T00:00:00+00:00 List-Id: Andy, > > 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. Sorry, but your original message was rather confusing, and this is even more so: > That would be the best course, if I were planning to use the finished > product in a C program. C has nothing to do with this. > The DLL will eventually be converted to an Ada library > file and imported into an Ada program. I'm not sure what you think a 'Ada library file' is, but I can assure you that you cannot convert a DLL into it. > 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. If you use an Ada compiler for Windows, it can use DLL files. It can also call the Win32 API. It seems you are confusing C and Pascal with Ada and Windows with Dos. For more info on the use of Ada under Windows, take a peek at my homepage at http://stad.dsl.nl/~jvandyk. Jerry.