| |
|
|
- Page 1 - |
|
Jörg Sellmeyer | the here functions. SizeOf determined too whom right worth. with String$(B#,0) becomes however nevertheless always the whole String outputted: CompileMarkSeparation Profanhilfe
The commands can ex XProfan 10 number of times on a Memory-Variable apply and be changes dynamic The Size the Speicherbereiches. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/30/08 ▲ |
|
|
|
| |
|
- Page 5 - |
|
|
Frank Abbing | No! |
|
|
| |
|
|
|
Stefan Landsberg | interestingly what your so everything over skype austauscht |
|
|
| |
|
|
|
Jörg Sellmeyer | Oha, I mean here must I soon again a Thread splitten. for me (as still Threadstarter ) has the trouble in the Grunde aufgeklärt, I now white, that not Dim the Nullbyte end setting, separate the commands String. Related to the Delete find so did i thoroughly diskussionswürdig, particularly, there the question position, what should with ReDim occur. Also remaining immernoch The question, whether it meaningfully is, that one on memory grab can, the not Program reserved is. though would find I as a Geschwindigkeitsverlust bedenklicher, as whom employment of something Gehirnschmalz by the Programmierers at using the function. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 09/02/08 ▲ |
|
|
|
|
Michael Wodrich | alike whether there somewhere one zusätzliches Nullbyte at Redimensionieren written becomes:
Char and String must a Bereichsprüfung distinguished! there these for tidy Programming always needed becomes should the Programmer the otherwise jedesmal with program.
remind we still at times M$, also thought, a Bereichsprüfung be from Geschwindigkeitsgründen not necessary. On the follow this Vorgehens suffering windows still always.
Best wishes Michael Wodrich
P.s.: there SizeOf() too to one new dimensionieren whom korrekten worth supply, ought to not heavy his String/Char on the Bereichsgrenze auszubremsen. |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 09/02/08 ▲ |
|
|
|
|
|
there SizeOf() too to one new dimensionieren whom korrekten worth supply, ought to not heavy his String/Char on the Bereichsgrenze auszubremsen.
The Bereichsgrenzen of/ one Memory-Variable should one not eingrenzen through further ausbremsen with String-Überprüfung etc, this is a suitor area for User. here would like I mean freiheiten and have yourself of first byte until last byte to determine. If I memory so reserviere and it überschreite must I so calculate the the program abstürtz. And if windows not everything on "0" staid has, must I for care.
mfg peter |
|
|
| |
|
|
|
RGH | Michael Wodrich
there SizeOf() too to one new dimensionieren whom korrekten worth supply, ought to not heavy his String/Char on the Bereichsgrenze auszubremsen.
clear is the without Problems possible. The question would here, whether it too of all so desired would. the shining I do not so. (if i remember rightly, was former too time so, watts but because of of Userwünschen removes.)
supra there were The question to the manner the memory-reservation. I use in Delphi following row:
If Z <> NIL Then ReAllocMem(Z,ParLng) Else Z := AllocMem(ParLng);
Hierbei is Z the Pointer on the memory and ParLng The angeforderte Size.
to that "Nullen" the Bereiches to the first Dim can Clear use.
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/08/08 ▲ |
|
|
|
|
Frank Abbing | which API hide itself behind whom Delphi-functions? |
|
|
| |
|
|
|
| |
|
| |
|
|
|
Frank Abbing | Nö. Rolands AllocMem has only one parameter. Zähl simply time to... |
|
|
| |
|
|
|
| Ähm what Have I there abkopiert? lol!
Well here standing too what: [...]
z.B. standing there heaph.inc and the getmem using becomes: "Allocate new memory on the heap".
hähphähphähp... |
|
|
| |
|
|
|
Frank Abbing | this is no API, iF. becomes a Delphi-function his. therefore becomes Roland me too sure say, that it not knows, which API itself behind it hide *prophezei*... |
|
|
| |
|
|
|
| I mean this is Heap-Zeugs... |
|
|
| |
|
|