Solved

TSR programs in Delphi 3

Posted on 2000-04-24
4
551 Views
Last Modified: 2012-05-04

I would like to write one Terminate and stay resident(TSR) program in Delphi.Experts can you help me?
0
Comment
Question by:veeramani
4 Comments
 
LVL 7

Expert Comment

by:Motaz
Comment Utility
TSR is only for DOS os, but now in windows such applications called services, or you can write normal applications then show it's icon in system tray instead of Task bar.

See this document for more information about System tray applications.

http://www.borland.com/devsupport/delphi/faq/FAQ2911D.html

Motaz
0
 
LVL 4

Accepted Solution

by:
Radler earned 50 total points
Comment Utility
The concept of TSR to Windows was replaced by Virtual Device Drivers or Services. Make one or other is painfull. The most aproximated thing is a hided application( Simple service ) that can be done to Windows 9x easily with:

interface

function RegisterServiceProcess(dwProcessID, dwType: Integer): Integer; stdcall; external 'KERNEL32.DLL';

implemmentation


procedure Seila( .... )
begin
....
RegisterServiceProcess( 0, 1 );//Hide app
.....
RegisterServiceProcess( 0, 0 ) //Unhide App
....
end;

T++, Radler.
0
 
LVL 1

Expert Comment

by:msedi
Comment Utility
Hello,

could you please be a little more specific with your problem in order to find the right way.

Thanks, Martin
0
 
LVL 1

Author Comment

by:veeramani
Comment Utility
Thank you very much,i accept your comment.
Regards,
veeramani
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now