> >
> >> Multiple instances of the same lazarus App with only one Database
> >> authentification?
> >>
> >> How would this be done?
> >> Would you use IPC for this?
> >
> > Yes.
> >
> > There is no other way IMHO.
> >
> > Michael.
> >
>
> Ok, so i guess right.
> Are there platform independent IPC-methods in lazarus?

Can pass the machine's MAC at authentication 1st step so that the 2nd app
gets authenticated automatically if 1st app has authenticated (note that
other apps will authenticate on same machine that way, plus that a MAC
address can be changed on various hardware and software platforms, so not
that secure)

For IPC can use TCP sockets even on a local machine (no firewall gets in
between local connections usually). Can also use shared files or pipes on
UNIX and Windows (in the 2nd OS better download the latest version of
"Services for Unix" [for Windows] from MSDN). With Windows can use shares,
memory mapped files, Windows messages (e.g. WM_COPYDATA) and other methods
and on *NIX too there should be other methods too

----------------
George Birbilis ([EMAIL PROTECTED])
Computer & Informatics Engineer
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
++ QuickTime, Delphi, ActiveX, .NET components ++
http://www.kagi.com/birbilis
++ Robotics ++
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _____  

avast! Antivirus <http://www.avast.com> : Outbound message clean. 


Virus Database (VPS): 0644-4, 31/10/2006
Tested on: 1/11/2006 3:42:31 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to