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: 103376,52f068e6dc147923 X-Google-Attributes: gid103376,public From: "news.oxy.com" Subject: Re: Win NT + Object Ada: serial port I/O Date: 1999/02/04 Message-ID: <79c0so$c65$1@remarQ.com>#1/1 X-Deja-AN: 440553093 References: <79952r$2t$1@nnrp1.dejanews.com> <799g51$p0p$1@remarQ.com> <79bp3t$4dc$1@nnrp1.dejanews.com> X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: newsabuse@remarQ.com X-Trace: 918128344 HXI3FRZSOA57FC7F8C usenet80.supernews.com Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here! Newsgroups: comp.lang.ada Date: 1999-02-04T00:00:00+00:00 List-Id: >> You should use Win32.hlp file instead. It contains all the needed >> information. >The Win32.hlp file contains explanations of the various functions in C syntax >which of course are very useful, however the version that comes with Object >Ada has no "Contents" and the Index does not say much about communication. function by some other means. Typical Microsoft :-( This is not Microsoft fault. This is Aonix fault. Content to XXX.hlp in Windows NT is separate file. The problem is that Aonix for some reason did not provide that separate Win32 file that contains Win32 Contents. As for me I am using Windows32 help files that comes with Delphi when I need Win32 help. It contains everything is needed and it is very easy to navigate around. Also Delphi source is very good example of various aspects of Win32 programming. Sorry that Aonix did not take care about that. >Based on the names and the fact that the API is in C I can usually make a >good guess as to what the types are, but I would much prefer to have a clear >definition. When I need to look at definitions I just open correspondent package specifications and use text searth to find needed definition. It takes few seconds. In your case you can have a look at Win32.ads. It contains all the definitions you were looking for. It is a best way to check package specifications to find any needed information. This is for what thay were designed in Ada (to provide clearly defined interfaces). Ada bindings to Win32 APIs are very well organised and it is very easy to find what is needed. You also may download demo of CLAW high-level OO libraries to Win32 API. This is very good example of Win32 Ada programming ( http://www.rrsoftware.com/html/prodinf/claw/claw.htm ). Regards, Vladimir Olensky (vladimir_olensky@yahoo.com) (Vladimir_Olensky@oxy.com) Telecommunication specialist, Occidental C.I.S. Service, Inc. ( www.oxy.com ) Moscow, Russia.