English
Regulars table & Café

Instabilität through RTF-function (since Profan 8?)

 

Uwe
''Pascal''
Niemeier
Hello people, Hello Roland!

this small code causes as prc or exe by me (XP) a Programmabsturz:
CompileMarkSeparation
!
window 50,50-400,400
declare Edit&
Edit&=create("RichEdit",%hwnd,"Test",10,50,100,100)
RTF("SaveText",Edit&,"Test.txt")
waitke

Gibts there somewhere a memory-Überlauf or so?
through Insert of Leerzeilen (!) to the Compile works namely sometimes.
with call(&OpenText... there no Problems.
shining though already since Profan 7.9 so To his... I mean, the watts Schonmal angemahnt

SeeYou
Pascal
 
09/25/06  
 



Hm by me funktionierts without crash as interpeter prc and exe, X10RC6 & XPHome.
 
09/25/06  
 



where Leerzeilen? by me stützt it too ex:
windows98 SE
 
09/25/06  
 



File without Problems stored - Content: the word Text

7 kB
Kurzbeschreibung: as EXE-File
Hochgeladen:09/25/06
Downloadcounter112
Download
 
09/25/06  
 



the depends of jeweilgen system ex and whether there straight the follow up virtual memory realem memory zugeordnet watts or not => seems a Speicherüberlauf To his .

I Have me whom Error time with TNT respected. The address to the address is yet allocated and contains data.
 
09/25/06  
 




RGH
finally time one Beispielcode of these ominösen RTF-bow, the too by me crashes ... and only few hours later (i was already on the forsaking ...), could I this bow finally dingfest make!
at a place watts with RTF() one Speicherzugriff made, the not his ought to. and depending on, in welchem status itself the computer straight befindet, goes it into pants or even not. so I had whom effect, that it only knallte, if I to the Compilieren and started demand watts, whether I Save wants and if the Text in the Richedit larger as two characters was.

Well, now Although the evening almost rum, but this trouble is now too fixed!

Greeting
Roland
 
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
09/25/06  
 



Moin...

As I said, depends so together, whether the memory on the there zugegriffen go should, allocated or not. whether the allocated or not, depends u.a. from the Enviroment-Variables (z.B. way) the Program ex. too before expired (memory-)operationen in the program play there with mere.
One very mieser Error, there in the rule the program not crashes and only data in memory überschrieben go.
I have since about three years whom local, the there somewhere yet such a thing in the manner rumfleucht...
 
09/26/06  
 




RGH
[quote:7b2a2cf450=Andreas Hötker]One very mieser Error, there in the rule the program not crashes and only data in memory überschrieben go.
I have since about three years whom local, the there somewhere yet such a thing in the manner rumfleucht... [/quote:7b2a2cf450]
How I already to ca 15 hours wrote: The Error is found and definitiv in XProfan 10 fixed! your need you means no thoughts More therefore To make, sonder simply on The next Version Waiting! ;)

Greeting
Roland
 
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
09/26/06  
 



Hello Roland...

is clear, the meant I do not . I have since about three years a problem, the itself really integrally similar äußert - with this function and Specifically with this trouble but nothing To do has!

since my View source The 12000 Lines overstepped has , becomes zeitweise a very censorial API not correctly. carryed out. whether the Error appears or not depends u.a. of it ex, which Bedienungsschritte the User before unternommen has, How big the View source to Time is, on welchem computer the program runs and whether it compiliert or not. i want not absolutely insist, that the Error to profane lying - i want you but requests, it Perhaps somewhere in the back of the head To keep, the the so his could.

´Gruß

Andreas
 
09/26/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.368 Views

Untitledvor 0 min.
H.Brill02/08/22
Thomas Freier09/04/21
Uwe Lang07/09/12

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