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,51abec50ed30b899 X-Google-Attributes: gid103376,public From: Dave Wood Subject: Re: object Ada Date: 1997/01/25 Message-ID: <32E96533.1024@thomsoft.com>#1/1 X-Deja-AN: 212266395 sender: news@thomsoft.com (USENET News Admin @flash) x-nntp-posting-host: wood2 references: <5c08vk$ame@ultra.exodus.net> content-type: text/plain; charset=us-ascii organization: Thomson Software Products mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.0 (Win95; I) Date: 1997-01-25T00:00:00+00:00 List-Id: Wasiq Hasan wrote: > > hi i just got ObjectAda from thomson software. > Is there ant refrence material for it? > > I want to call win32 api to read data from > rs-232. do I need a vxd or i can just call > the api? > > i'm using win95. > > anybody has any example. > > thanks > > Wasiq Unlike Windows 3.1, Windows NT does not allow INT21 or BIOS access to the communication ports; if such access is required, the DDK should be used to develop a driver to carry out the function. That being said, the communication ports can be opened and used via the CreateFile, ReadFile and WriteFile API calls. The following functions are also available for use with communications devices. BuildCommDCB BuildCommDCBAndTimeouts ClearCommBreak ClearCommError CommConfigDialog DeviceIoControl EscapeCommFunction GetCommConfig GetCommMask GetCommModemStatus GetCommProperties GetCommState GetCommTimeouts GetDefaultCommConfig PurgeComm SetCommBreak SetCommConfig SetCommMask SetCommState SetCommTimeouts SetDefaultCommConfig SetupComm TransmitCommChar WaitCommEvent For further details, consult the appropriate Microsoft documentation. -- Dave Wood -- Product Manager, ObjectAda for Windows -- Aonix - "Ada with an Attitude"