English
Forum

File Linker

 

Georg
Teles
One simples Program, that 2 Files zusammenfügt:

Download

1. File: Quelldatei
2. File: which appended becomes
3. Save: Zieldatei
4. Link!: Zieldatei becomes written

stood 2013

 
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

01/02/23  
 




H.Brill
Hello, To what need one because something like ?
is the for Images o.ä. virtual ?
what power Nr. 4 ? Link!:Zieldatei becomes written.
thought, the would with Nr. 3 obviously.

is the what ähnliches, How in the Help ProgEnd ?
copy Test.exe /b + Test.txt /b Test1.exe

or crazy I and it is what other ?

ex Version X4 must one pay attention. there functions the
%ProgEnd not any more. having I then already RGH
gemeldet.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
01/02/23  
 




Georg
Teles
Hi,

H.Brill (02.01.2023)
is the what ähnliches, How in the Help ProgEnd ?
copy Test.exe /b + Test.txt /b Test1.exe


in the Grunde Yes, is in Grunde with BlockRead and BlockWrite red and written.

H.Brill (02.01.2023)
ex Version X4 must one pay attention. there functions the %ProgEnd not any more. having I then already RGH gemeldet.


there have you got right, because X4 the Compilations as Ressource anhängt. ProgEnd would I only for using, so the Runtime white, To where the Compilations (PRC) goes and red go should.

severe taken can the Compilations end the Runtime append, means not as Ressource. this is in the Grunde, what ProfLink To x2? faith  Yes does. the Runtime would then the Compilations anhand the Headers search " RGH-PROFAN" and correctly perform. Testweise goes it too under X4, there has Roland indeed whom Suchindex ex X3 on 100 Kb staid, having but a others Context (heavy compressed Kompilate). straight tested, can X4 Compilations end the Runtime append, the %ProgEnd becomes too correctly displayed, Testgrafik & Files follow.

the Program having I Specifically for X2 written, I end the program to %ProgEnd my Files, accurate said Archive appended and included. ex X4 would I instead of %ProgEnd a selbstgewählten String select and the Beginn the data Mark.

Regards, sry for plenty Text
 
Alle Sprachen
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

01/02/23  
 




Georg
Teles
Habs tested, here The Results

tst____1.prf - through ProgEnd
cls
declare f#
dim f#,21362
print "Progend ";%progend
Set("FileMode",0)
Assign #1,Par$(0)
OpenRW #1
seek #1,%progend
blockread(#1,f#,0,21362)
Close #1
Set("FileMode",1)
Assign #2,"test.gif"
OpenRW #2
blockwrite #2,f#,0,21362
Close #2
print "test.gif written..."
waitinput
dispose f#
ProgEnd

tst____2.prf - through MemPos and "Such"-Prefix (xp.txt Content = "XPROFANGIF_____")
cls
declare f#, f&
f& = filesize(Par$(0))
dim f#,f&
Set("FileMode",0)
Assign #1,Par$(0)
OpenRW #1
blockread(#1,f#,0,f&)
Close #1
declare pos&
pos& = MemPos(f#,0,"XPROFANGIF_____")
dispose f#
print "POS& "+Str $(pos&)
dim f#,21362
Assign #1,Par$(0)
OpenRW #1
seek #1,pos&+15
blockread(#1,f#,0,21362)
Close #1
Set("FileMode",1)
Assign #2,"test.gif"
OpenRW #2
blockwrite #2,f#,0,21362
Close #2
print "test.gif written..."
waitinput
dispose f#
ProgEnd

Result



summary
If PRC of X4 through Linker as Ressource angefügt becomes, gives %ProgEnd not the end the finished Program on, separate the end the PRC, means inside the Runtime and not where these end (tst____1.prf - oberster tree s. Image)

If PRC end of Prfrun32 angefügt becomes, functions %ProgEnd wonderful. (tst____1.prf - row 2 in the tree s. Image)

If one instead a selbstgewählten prefix uses and through MemPos this seek, goes nothing schief: (tst____2.prf)

whether through Linker of X4 or end of Runtime angefügte PRC, followed of end angefügter prefix (here xp.txt File with Content "XPROFANGIF_____", which sought becomes s. example tst____2.prf) followed of end angefügter GIF letztendlich works wonderful.

The Idea was nunmehr data on the XProfan Program anzufügen. the can ausweiten and zB what me straight falls in as selbstentpackendes archive zB benefit and on The finished EXE one archive append, which the program according to archive The Files lists and possible variable data How cover, Text for Archivierer contains (there work I my TEW Archivierer strain dran).

Sry for the whole, wished on number sure weg and testing ... Hello.
 
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

01/02/23  
 




H.Brill
thanks for Erläuterungen.
since it The Ressourcen-functions in XProfan gives,
can too so some effect.
I had there time too one Program for Arbeitskollegen
for home develops. The List view.dll, The I settled having,
had The Kollegen often time deleted, Why too always,
and bemängelnden then, that my Program not any more running.
there I had The DLL abruptly as Ressource eingelinkt
and each Program Start The Resource read
and new into Programmordner written. there was then
Peace.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
01/03/23  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.100 Views

Untitledvor 0 min.
Georg Teles10/09/24
Gast.081508/21/24
Member 862464106/08/24
H.Brill11/25/23
More...

Themeninformationen

this Topic has 2 subscriber:

Georg Teles (3x)
H.Brill (2x)


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