English
Forum

write in running EXE-File

 

Jac
de
Lad
Hallochen,

is it possible into EXE-File the gelinkten Compilats To write, during it carryed out becomes?

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/16/05  
 



No, I faith not.
 
12/16/05  
 




Frank
Abbing
I mean neither.
but Perhaps inspired you something like:
CompileMarkSeparation
Declare text$
Assign #2,("Source.prf")
Rewrite #2
Print #2,"Cls"
Print #2,"Print ";Chr$(34);"Ich wurde erzeugt...";Chr$(34)
Print #2,"WaitInput"
Close #2
text$="ProfComp.exe Source.prf /b"
Shell text$
text$="ProfLink.exe Source.prc"
Shell text$
text$="Source.exe"
Shell text$
12/16/05  
 




Michael
Wodrich
Klappt then but at customers only, if this self (X)Profan his own name.

is nevertheless a nice thing. in this Context Perhaps too through Execute interestingly for einfachen items.

Best wishes
Michael Wodrich

@Jac:
such Bestrebungen there were already To DOS-times. on the Einfachsten resolved one this then through of/ one Stapeldatei.
- it'll one Program called, the The To startende EXE at a designed place part: Vorderer part is the EXE, hinterer part a data base (or whatever).
- Then the eigentliche Program called (this keeps then The Datendatei)
- Then again the Extraprogramm called, the both pieces zusammenfügt.

After the create the EXE must means once the Extraprogramm ran and the pieces vernähen.
so the users whom roast meat not smell created the program with one appeal without Parameter a Message How this PlugIn must only from the Hauptprogramm launched go.
 
Programmieren, das spannendste Detektivspiel der Welt.
12/16/05  
 



Mmh...

with PrivAktivate write I of course into Own EXE - and even into View source (freischaltungsinfo) - but not during tappt im dunkeln carryed out becomes...
 
12/16/05  
 




Michael
Wodrich
really afford itself with XProfan Yes many Opportunities on. how'bout with following: (ProgEnd / %ProgEnd / Run)

again 2 Programe. Program A is the Starter.
its Resource (simply drankopiert) is Program B. on the end of Pgm B existing a drankopierte Resource with vorgegebener length (or length the Resource standing end the Resourcendatei).

Pgm A determined whom Resourcenstart and the length (Dateilänge - %ProgEnd + 1).
this part less Resourcenlänge of Pgm B is the EXE of Pgm B.
The Resource of B becomes as Own File stored.

Pgm B becomes over Run called.

after Pgm B is done must The Resource again on the end of Pgm A stored (überschrieben go). thereafter becomes Pgm A with Run + Parameter called around the disk again to straighten up (EXE B and data).

so integrally Datensicher is the though not. rather is it, if The Possibility the Resources-Änderung exists. then can The data simply through the Profan-own Resourcenbefehle red go. the write would then well through API To regulate (if these Possibility at all existing).

[box:3there9e7cd62]edited:
Vergeßt with the the Resources Change through API (see here):
[...] 
the wouldn't on all Systemen walk...
[/box:3there9e7cd62]
 
Programmieren, das spannendste Detektivspiel der Welt.
12/16/05  
 



so in the manner have ichs too geregelt. As I said,, too one Change of View source in the finished Program would so possible...
 
12/16/05  
 




Jac
de
Lad
Jaja, with %Progend Have ichs too made. i will on my Prog really only ne Checksumme append. there mach I me now even one Extra-Prog, that the undertaking.

@Michael: How siehts really with MD5 from? With me is your View source not functions...

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/16/05  
 




Michael
Wodrich
in the ZIP is still a pure Assemblerversion. from it make You you a DLL and ready.

but I werds at times my ToDo-list append...

---
Hoppla, have a MD5_DLL.zipper with Profan-Wrapper discover. The have I on the 01.11.2004 from the internet Downloaded. is so the Topic not already long Done?!? (Who whom Wrapper gebastelt, there standing no name thereby)

Best wishes
Michael Wodrich (the The Schneeflöckchen slow on the biscuit weg).
 
Programmieren, das spannendste Detektivspiel der Welt.
12/16/05  
 



the write into Exe one itself executing Program allows WindowXP not - but the Exe which self modify wants can from itself out itself self reading.

herewith can The Exe itself self copy - and the copy can then gepatcht go. subsequently is only yet the new exe to execute, and the Own Exe To terminate.

as Sahnehäubchen could The gepatchte Exe discern, that tappt im dunkeln on the incorrect place lying - and itself on The same place copy where The old exe lying einschliesslich the The then against on the right place launched exe too yet The gepatchte deletes.

Lol.
 
12/17/05  
 



...gepatchte EXE with Parameter started - so recognize The gepatchte EXE, that tappt im dunkeln gepatched is, deletes The old EXE and copies itself then on the Space the middle-aged EXE. thereafter results one Neustart this copied EXE with a others Parameter. from it recognize The copied gepatchte EXE, that the gepatchte EXE yet deleted go must and deletes these. between whom whole activities the kopierens and delete must windows something Time to that Verschnaufen given go (Sleep). How plenty Time there given go must, depends heavy of jeweiligen computer ex - is means a thing, The on unterschiedlichen Rechnern integrally vast into pants weg can...
 
12/18/05  
 




Jac
de
Lad
Oje, I lass it rather...

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/18/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.501 Views

Untitledvor 0 min.
AndreasS01/06/19
H.Brill08/30/14
Untitled02/11/11

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie