Autor Beitrag
Mindforce
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 358

Win XP Pro / MCE, Win 98, Slax (Linux)
Delphi 07 PRO, Delphi 3+7 (mit Prdx)
BeitragVerfasst: Mo 16.10.06 18:05 
Hi,

ist es möglich, das ma IN dem Programm das ich bereits compiliert und gestartet hab den Quelltext von nem Button zu ändern?
Z.B.: showmessage('Hi');

Wär das möglich?

Gruß,

M!ndbyte

_________________
Our force; in mind.
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Mo 16.10.06 18:14 
Nein, nicht mit deinen Kenntnissen! ;)
Ich sehe auch kein Grund, warum man das tuen sollte. Wenn du sowas wirklich willst, brauchst du wohl eher ein Parser/Compiler.

Gruß Hape!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
Mindforce Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 358

Win XP Pro / MCE, Win 98, Slax (Linux)
Delphi 07 PRO, Delphi 3+7 (mit Prdx)
BeitragVerfasst: Mo 16.10.06 18:19 
Hi,

Nein, nicht mit deinen Kenntnissen!

Was solln das heissen? :x

Gruß,

M!ndbyte

_________________
Our force; in mind.
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Mo 16.10.06 18:26 
War provokant, sorry. Die Frage impliziert aber, dass du das Prinzip von einem Compiler nicht verstanden hast. Bau ein Parser oder Compiler, dann funktioniert das. Normalerweise ist das aber unnötig. Was willst du den machen?

Gruß Hape!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
Mindforce Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 358

Win XP Pro / MCE, Win 98, Slax (Linux)
Delphi 07 PRO, Delphi 3+7 (mit Prdx)
BeitragVerfasst: Mo 16.10.06 18:28 
Hi,

natürlich war mir das schon bewusst, das das nicht gehen würde.
Aber ich hab mirgedacht, das es vielleicht doch gehen könnte.
Trotzdem Thx, ich hab auch schon ne andere aber nicht so kompotente Idee!

Gruß,

M!ndbyte

_________________
Our force; in mind.
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Di 17.10.06 15:36 
Also wenn du Delphi-Code im laufenden Programm ausführen willst, kannst du JvInterpreterProgram benutzen.

Moment, ich such mal nen Link..

Hier isser: wiki.delphigl.com/in...php/Tutorial#Skripte
Besonders einfach ist das erste, die anderen beiden beschäftigen sich damit, wie man sowas selbst schreibt. Nur mal so zu "Abschreckung" :D

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
rizla
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 417
Erhaltene Danke: 2

XP
FPC mit Lazarus
BeitragVerfasst: Di 17.10.06 16:34 
er könnte ja n assembler coden und den code dann injecten ;)

_________________
if you have what they want - they'll find a way to take it (bruce sterling)
WOW - 10 JAHRE Mitglied beim Delphi-Forum. Wie die Zeit vergeht, Freunde.