| |
|
|
- Page 1 - |
|
Matthias Arlt | on any, which of you time more in detail with Ressourcen engage having...
I use already longer Own routines to Ressourcen-edit. programs How Resource Hacker u.a. are of course very helpful, but not always meaningfully, if a function bspw. only once needed becomes. The problem exists really "nur" in the Neuaufbau the RES-Sektion, because at Delete with UpdateResource becomes even only The Info in the Header deleted and a PlaceHolder eingefügt. The Filesize remaining mithin unchanged... what about me Search to remedy...
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 02/23/16 ▲ |
|
|
|
|
« this Posting watts as Solution marked. » |
|
Matthias Arlt | too this "Problem" has now quasi on the side Done. In all whom Make, where The Ressourcen-Sektion The physical latest Sektion in the File is (what To 99,9% the case his ought to), is no vollständiges ReAlignment the Dateiinhalts necessary. it reicht from, whom .rsrc-Header To auszulesen, whom part to the Rohdaten-Offset (back .rsrc + 20) abzutrennen and with want The Size (with .rsrc + 16) on zero To settle.
Übrig remaining one funktionierendes (ressourcenfreies and properly kleineres) "Leermodul", the now by API particular or in the Pulk with the desired Ressourcen equips go can...
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 04/19/16 ▲ |
|
|
|
|
|
Georg Teles | Nabend, personal use I always whom ResHacker circa my Runtimes To preparieren
understand not integrally, what you mean / seek - understand I the right, that You with the function UpdateRessource [...] very this trouble have, that You a Ressource a EXE löschst The Filesize but immediately remaining ? |
|
|
| |
|
|
|
Matthias Arlt | Georg Teles (23.02.2016)
Nabend, personal use I always whom ResHacker circa my Runtimes To preparieren
I Yes really too... sometimes is But 'ungünstig' only because of a single Funktionsaufrufs one Drittprogramm To involvieren...
Georg Teles (23.02.2016)
...understand I the right, that You with the function UpdateRessource [...] very this trouble have, that You a Ressource a EXE löschst The Filesize but immediately remaining ?
Yes very, the understand You correctly.. with add, replace, modify etc. becomes The File ohnehin larger or remaining same. only with delete becomes tappt im dunkeln even not small, since the Address-Zuordnungen the Ressourcen otherwise not any more voices would. therefore go at Delete The Placeholder eingefügt and the Filesize remaining same. an Reorganisation the Ressourcen would, so far I the erlesen have, here remedy create. only is me the withal x-facher try not yet been successful...
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 02/23/16 ▲ |
|
|
|
|
Matthias Arlt | after I now yet intensiver into matter read have, can I The idea for the time being time ad acta lay. it liefe end on one complete Neuschreiben the Binary out (so or similar becomes with the the 'Resource Hacker' well too resolved...). and standing so of hoisted since in keinem Relationship to the, I achieve wished. thanks nevertheless all, which for The forehead gerunzelt having.....
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 02/25/16 ▲ |
|
|
|
|
Matthias Arlt | too this "Problem" has now quasi on the side Done. In all whom Make, where The Ressourcen-Sektion The physical latest Sektion in the File is (what To 99,9% the case his ought to), is no vollständiges ReAlignment the Dateiinhalts necessary. it reicht from, whom .rsrc-Header To auszulesen, whom part to the Rohdaten-Offset (back .rsrc + 20) abzutrennen and with want The Size (with .rsrc + 16) on zero To settle.
Übrig remaining one funktionierendes (ressourcenfreies and properly kleineres) "Leermodul", the now by API particular or in the Pulk with the desired Ressourcen equips go can...
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 04/19/16 ▲ |
|
|
|