TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Subject:
From:
Matthew Heaney <[log in to unmask]>
Date:
Sun, 17 Jan 1999 15:52:42 -0800
In-Reply-To:
Igor Izvarin's message of "Sun, 17 Jan 1999 23:48:06 +0300"
X-To:
Reply-To:
Matthew Heaney <[log in to unmask]>
Parts/Attachments:
text/plain (25 lines)
Igor Izvarin <[log in to unmask]> writes:

> Hi,
>
> Does anybody know about some frameworks for Microsoft Windows "OSes" like
> MFC (from Microsoft) or OWL (from Borland/Inprise) because using calls like
>
> PPAL := Void_To_Logpalette(Win32.Malloc.Malloc(
>             Win32.Strings.size_t((Win32.WinGdi.LOGPALETTE'size)/8 +
>                    NPAL*((WinGdi.PALETTEENTRY'size)/8))));
>
> is very "difficult".
>
> P.S. I understand that MS Windows OSes are not so good but they are widely
> used.

The person who wrote this code needs to learn what a declare block is.
Build complex expressions step by step using local declarations, not big
bang as in the example.
--
Those who believe in the supernatural should be required to learn
computer programming.  This would force them to discover that things
which appear at first to be completely mysterious and incomprehensible,
in fact have a logical (and usually simple) explanation.  --J.B.R. Yant

ATOM RSS1 RSS2