Link to home
Start Free TrialLog in
Avatar of jintajak
jintajak

asked on

What is ATOM or TATOM??

What is ATOM or TATOM??
What  to  use it  in Windows??
Avatar of Lischke
Lischke

Hi,

an atom is just a string stored in tables by Windows. Actually, the atom is an ID for a string registered by calls like AddAtom. There are two types of atoms available, global and local atoms. Local atoms are available only for the process which registered them, while global atoms can be used for interprocess communication, without the need to use a mutex or similar. Local atoms are deleted automatically when a process finishs while global atoms will not (the application which created the atom has to delete it or it will stay persistent until system reboot).

You won't need atoms, though, very often as Delphi has a better string management and other means for interprocess communication than strings are available (mutex in particular).

TAtom is just the Delphi equivalent of an atom ID.

Ciao, Mike
Avatar of jintajak

ASKER

To Lischke....
How I can to give your point for  explain??
ASKER CERTIFIED SOLUTION
Avatar of Lischke
Lischke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial