English
Bugs and vermeintliche

FreeProfan Bugs and vermeintliche

FreeProfan32 and API UpdateResource

 
- Page 1 -



Matthias
Arlt
with the Fehlersuche in a of my programs is me noticed, that one schreibender grabbed with "UpdateResource" on The Runtime (or. Interpreter) regularly The File useless power. so far I found out have, or this anyway annehme, becomes the Schreibvorgang of course carryed out, but the Änderung not Header registered... this lead then the Startversuch the File To unterschiedlichen Fehlermeldungen. mostly "Nur one part the ReadProcessMemory- or WriteProcessMemory-demand watts abgeschlossen" or "Falscher Parameter...".
it concerns too ausschliesslich FreeProfan, The XProfan-versions are of these effect not concerned.

Greeting Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
04/10/16  
 



 
- Page 3 -


Büdde to another wish, where your strain on the Exe frickelt:

the Console-Flag as Kompilerschalter!

whom code to  [...]  have I long ago not any more parat and white unfortunately neither More The place in the PE-Header. with the Flag can one XProfan-Konsolen-Program in the cmd perform without the it for own Konsole-expenses zwangsläufig a new Konsolenfenster opens.

it brought then (well XProfan 9) apparently too nothing confusion and the XProfan-programs supplying integrally normal.

Have to strain yet a middle-aged Posting found:  [...]  and Konsole-API  [...]  .
 
04/21/16  
 




RGH
Sodele, now have I (first of all for FreeProfan32) too whom Compiler umgestrickt: The PRC-File becomes now as Ressource the Type "XPRC" with names "Programm" the Runtime added. there tappt im dunkeln now not any more coercive end the produce program lying, separate into Ressourcen, becomes automatically to the Compile the Program The row "ProgEnd" added, so The Runtime too the end the Kompilates recognize.

The Runtime have I first of all not changed ("Never change ...."), since the Search Yes to the Compilations Yes furthermore so erfolgen can, How yet. (with opportunity I will the then but optimize.)

now becomes too one fertiges Program not any more through Delete of/ one Ressource useless.

Greeting
Roland

@iF: which byte the Headers very must on whom worth staid go?
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
04/21/16  
 




Matthias
Arlt
the fragliche Flag lying with Offset (long(runtime#,60) + 92).
for the Console ought to there $3 stand, for Window $2.

everything further lying in Rolands hand...

Greeting Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
04/21/16  
 




Matthias
Arlt
this is still time 'ne interesting Solution...The PRC as Ressource

Gefällt me well!
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
04/21/16  
 




RGH
for the time being can itself the Yes then with want with each Hexeditor yourself patchen.

the FreeProfan32-pkg have I now freshly uploaded. it's located on the known address ready!

on the weekend hope I then, Time to find, The Changes too for FreeProfan64 and later then too for XProfan durchzuführen.

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
04/21/16  
 




Matthias
Arlt
Roland, what Perhaps yet To Verify would:
whether each Compiler-Durchlauf really exakt The same Dateistruktur created becomes. because of the Festwerte for Sektionsgrößen. If namely not, should one whom compel Differenzbetrag then dynamic detect, what no trouble would, one must it hold only know.

I go time of it from, that not necessary his becomes, but sure is sure...

Greeting Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
04/21/16  
 



RGH (21.04.2016)
@iF: which byte the Headers very must on whom worth staid go?


Sorry, I wrote Yes sinngemäß, I it unfortunately not any more white.
 
04/21/16  
 




Matthias
Arlt
@iF: I habs but already rausgesucht...


the fragliche Flag lying with Offset (long(runtime#,60) + 92).
for the Console ought to there $3 stand, for Window $2.
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
04/21/16  
 



very, habs not überlesen and me The 92 Pinned.

[OFFTOPIC]Roland having only überlesen, I sinngemäß wrote, it in the momentum not "auf the Schirm" to have. would be not my manner, the value "92" not too directly To Quote, if I it because know. Insofern having me Rolands question only irritiert and you against my response on its question. ^^[/OFFTOPIC]
 
04/21/16  
 




Michael
W.
RGH (21.04.2016)
Ressource the Type "XPRC" with names "Programm"




Ressource the Type "XPRC" with names "Programm1", "Programm2", "Programm3"

...and then ChoiceBox or Programmname over Parameterschalter...




i know, its terrible the each Solution To new Wish (and Problemen) lead...
 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
04/21/16  
 




Matthias
Arlt
The following Please ignore (Fehldiagnose, because the head of many code-Durchforsten smoking...):
Hm...so interestingly the first of all shone with the XPRC-Ressource...
One pack the Runtime is therefore but well unmöglich become.
 
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
04/22/16  
 




funkheld
If can you Please your Clientprogramm as Source offenlegen ?

Thank you.
greeting
 
04/22/16  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

66.840 Views

Untitledvor 0 min.
Sven Bader09/16/21
Rainer Hoefs07/12/19
p.specht12/20/18
Walter05/23/18
More...

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