Autor Beitrag
en!gma
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 378

win xp
delphi 7.0
BeitragVerfasst: Mi 08.06.05 13:22 
hiho
hab mal ne (villeicht) stumpfe frage.
ist es möglich zu einer exe datei neuen code hinzuzufügen?
uff angenommen ich hab ein progamm meinBeispielprogramm.
das hat meinetwegen nur 1 knopf um eine sounddatei abzuspielen.
nun möchte ich zB einen code hinzufügen der eine messagebox öffnet.
und dann müsste ich ja die exe so umschreiben, dass die nicht den sound abspielt, sondern meine neue prozedur aufruft
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mi 08.06.05 13:24 
Nein. Du musst eine neue EXE erzeugen und ausliefern.
en!gma Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 378

win xp
delphi 7.0
BeitragVerfasst: Mi 08.06.05 13:26 
hmm denn ein freund von mir meinte, dass sie das demnächst mit einer xbe datei machen werden.
also eine xbox-exe sozusagen.
der code ist nicht encrypted und die wollten halt sachen hinzufügen, wie hab ich keine ahnung, deswegen wollt ich hier mal fragen
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 08.06.05 13:27 
Moin!

Nein, ohne einen Quelltext des Programmes zu haben (wo auch immer der auf welche Weise hergekommen ist!) ist sowas nicht möglich. So gesehen ist Compilieren eine Einbahnstraße.

Du könntest höchstens einen Wrapper für die Anwendung schreiben, also eine Art Umgebung (Shell), die für die Funktion des unbekannten Programmes dieses aufruft. Was allerdings wiederum voraussetzt, dass man das Programm "fernsteuern" kann, also entweder per Kommandozeile oder anderen "live"-Verfahren.

Bezieht sich natürlich alles auf x86-Exe-Images. :wink:

cu
Narses


Zuletzt bearbeitet von Narses am Mi 08.06.05 13:29, insgesamt 1-mal bearbeitet
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mi 08.06.05 13:28 
Wie das mit xbe-Dateien ist, weiß ich nicht. Die kenne ich nicht. Vielleicht gibts da noch besonderheiten.
en!gma Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 378

win xp
delphi 7.0
BeitragVerfasst: Mi 08.06.05 13:29 
das weiss ich auch nicht, kann gut sein...
auf jedenfall wird das ganze mit visual studio net 2003 compiliert