Re: Upcoming releases

new topic     » goto parent     » topic index » view thread      » older message » newer message

Ralf Nieuwenhuijsen wrote:
>
>         I always thought windows and dos program weren't different except
> windows programs call dll and load some standard code which generates
> a constant look-and-feel and saves a lot of update-trouble and
> hd-space, the dll's are automatically updated with new versions of
> programs, i can see the use of it...
>
>         I could be wrong... ..if so please tell me..
>
Actually, Ralf, windoz and DOS programs have very little in common. Windoz
programs are event-driven. Put simply, the user can do almost anything at
any time, and the program must respond appropriately.
DOS programs are, in effect, the opposite. The programmer specifies what
he wants the user to do next, and the program waits patiently for the user to
respond properly.

Windoz programs are event-driven and rely on message passing to coordinate
between the operating system, the program(s) currently running, and the user.
There are several hundred different messages that windoz itself may send,
unannounced. Your program must either respond to these, or pass them on to
some underlying code which can handle them.
In addition, your program must generate its own messages to send to windoz,
or to other programs, or to other parts of itself.

The entire "architecture" is different.
That's why a windoz "HELLO,WORLD" program can take 50 or 100 lines of code,
and maybe 200,000 - 300,000 more bytes for the exe file!

 Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu