Solved

TSR programs in Delphi 3

Posted on 2000-04-24
4
558 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
ID: 2746441
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
ID: 2747346
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
ID: 2750804
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
ID: 2750834
Thank you very much,i accept your comment.
Regards,
veeramani
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

823 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