Re: MFC program error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



All programs execute memory resident. In fact, that is the definition of a program: it is
a bunch of instructions resident in memory.

The old "terminate and stay resident" of MS-DOS was just a poor hack at attempting to have
multiple programs running at once. In Windows, all programs are running.

There are more serious questions, such as "what do you want it to do?" and "do you want it
running for the logged-in user?"

System services come up when the machine boots, and they run in the background, but they
have limitations, for example, they cannot have a GUI interface.

Some programs don't have an entry in the task bar but instead have a tray icon.

Some programs monitor user activity (use hooks).

But unless we know what you want, the question is too vague to be answerable.
joe

On 9 Feb 2007 09:43:49 -0800, "Shahoo" <shahookamangar@xxxxxxxxx> wrote:

Hi,
I am new to MFC and I want to know how to make a program work behind
the scenes(memory resident).Can anyone help on that please?
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Mouse issues
    ... Flash for the movie, and many web sites use Flash for animated ad ... "Terminate and Stay Resident" was a DOS function call to terminate a ... but keep it resident in memory. ...
    (rec.pets.cats.anecdotes)
  • RE: using a form added as a resource
    ... "Old programmers never die. ... They just terminate and stay resident." ...
    (microsoft.public.dotnet.languages.vb)
  • Re: OT: Yet Another Unhappy Customer for Vista
    ... hook the timer interrupt and to a terminate (INT2h, IIRC) with stay ... resident. ...
    (sci.electronics.design)
  • Re: Use of the term resident
    ... That stood for "terminate stay resident". ... > called up with a hotkey combination, such as Alt M for the main menu, Atl N ...
    (microsoft.public.windowsxp.general)
  • Re: Use of the term resident
    ... That stood for "terminate stay resident". ... called up with a hotkey combination, such as Alt M for the main menu, Atl N ... Regarding anti-virus and anti-spyware programs, it could mean that part of ...
    (microsoft.public.windowsxp.general)