Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

TSR programs in Delphi 3

Posted on 2000-04-24
4
562 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi procedure  - Unsatisfied forward or external declaration. 2 183
code issue 8 153
How to build JSON File in Delphi 6 3 45
Installshield for Embarcadero EX 10.1 Berlin 4 60
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 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