http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OTP - menu fix



--- Sponsor's Message --------------------------------------
Discuss Tech News as It Happens!
Keep up with the latest happenings in high tech -- FREE!
http://click.topica.com/aaaa4IbUrGczbU68iFa/technology
------------------------------------------------------------

At 05:32 AM 3/25/01 -0800, you wrote:
>============================================================
>Searching for "a clean, well-organized place" for email? My
>Topica was designed with people like you in mind. Stop by
>and see what you think at
>http://click.topica.com/aaabBzbUrGczbVerqLa/register
>============================================================
>
>> That's exactly the kind of thing that's turned me into a grumpy old man ;)
>> The o/s knows perfectly well who's used a dll, it could add the counter
>> automagically on use - as well as allowing the prog to do it itself.
>
>That sounds all right, but what about decreasing the counter? How is the OS
>supposed to know when a program doesn't want/need the dll anymore? This
>would result in MS "protecting" all dll's so when one is installed, it'll
>never go away again!

I don't believe a simple counter is enuf. Each DLL needs a list of
user-apps, and when the list is empty, the last app out turns off the lights.

When a prog installs, it hasta register itself with all resources it needs,
or risk losing them. Of course this list would be compiler-generated and
kept in an Instal module, execute automagically unless app-disabled.

>This could all be avoided by providing a 'common installer' with the OS (as
>in Win2k) and have THAT keep track of the dll's usage count (which it
>probably does). The only problem is: all programs must use this installer.

Well, that's not so hard, a proper o/s could require anything writing to
exe or dll or bat etc. should come thru the installer front door. Make life
tougher on viruses too. The idea that an o/s turns a blind eye while some
hostile process overwrites an exe file is just absurd, especially when it's
so easy to trap.

grant

____________________________________________________________
T O P I C A  -- Learn More. Surf Less. 
Newsletters, Tips and Discussions on Topics You Choose.
http://www.topica.com/partner/tag01