EdtSvr Unit (Delphi)

Questions about programming languages and debugging
Post Reply
bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

EdtSvr Unit (Delphi)

Post by bubzuru »

here is my delphi edit server unit
it lets you build a server editor like
you get in most common rats with just a few lines of code .
it uses Xor encryption to keep your settings safe :)

http://code.suck-o.com/13
*there is an error in that code ^ change "Settings := Split(sdata[1],KEY);" to Settings := Split(sdata[2],KEY); to make it work *

its very simple to use just look at this example

editor.exe

Code: Select all

var
 builder:TBuilder;

begin
  builder := TBuilder.Create;

  builder.Exe := 'c:\test.exe';
  builder.Settings[0] := 'test';
  builder.Settings[1] := '123456';
  builder.WriteSettings;
end.
server.exe

Code: Select all

var
 loader:TLoader;

begin
  loader := TLoader.Create;

  loader.Exe := 'c:\test.txt';
  loader.LoadSettings;
  WriteLn(loader.Settings[0]);
  WriteLn(loader.Settings[1]);
end.
Last edited by bubzuru on 10 Apr 2008, 19:17, edited 1 time in total.
[img]http://www.slackware.com/~msimons/slackware/grfx/shared/greymtlSW.jpg[/img]

G-Brain
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 467
Joined: 08 Nov 2007, 17:00
16
Location: NL

Re: EdtSvr Unit (Delphi)

Post by G-Brain »

bubzuru wrote:it uses Xor encryption to keep your settings safe :)
Hell yeah!

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Re: EdtSvr Unit (Delphi)

Post by bubzuru »

G-Brain wrote:
bubzuru wrote:it uses Xor encryption to keep your settings safe :)
Hell yeah!
lol i know it not very safe
but still its better than plain text :lol:

Post Reply