| |
|
|
| simply time in space thrown without to think:
Gettext$ gives unfortunately max. 32kb Text of a Edit back - maximum String-Length lying however with 2GB. |
|
|
| |
|
|
|
RGH | Yes, GetText$ heard to the few Ausnahmen, with them The boundary yet with 32767 characters lying. These Ausnahmen concern The Cases, where Text through of/ one such red becomes. (standing in the Help about Strings with the Erwähnung the maximalen String-Length.) GetText$ uses The API-Message wm_GetText and the needed a Puffer for maximum Stringgröße, The so red becomes. i think, so some computer would into knees weg, if I for this Puffer so even 2 GB RAM bereitstelle!
i think but, that I me for next Version there something to occur let. (at least ought to directly with whom affected command/functions these Einschränkung in the Help called.)
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 | 07/08/07 ▲ |
|
|
|
|
| Habs strain time tested - have physical 512MB and by Dim a Gig reserved. went blitzschnell and the virt.Ram is on >1GB hochgeschnellt.
I mean 2GB for To reservieren is sure (today) nonsense - but 1MB could there already drinn his with the option the if 1MB not ausreicht hold 10MB reserved go - with which but then Schluß his could. only so a idea hold. |
|
|
| |
|
|
|
Jörg Sellmeyer | Altes Zeugs and none brauchts apparently but Perhaps nevertheless again in forward line take.
Cls
Var Ed& =Create("Edit",%hwnd,MkStr$("*",32*1024),10,40,780,24)
'Var Ed& =Create("Edit",%hwnd,MkStr$("*",32*1024 + 4),10,40,780,24)'the works not!!!
Print Len(GetText$(Ed&))
WaitInput
|
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/04/11 ▲ |
|
|
|
|
RGH | the mentioned trouble (GetText$() can only To 32767) is very well Done. of it, that the einzeilige Create("Edit",...) only 32767 can, was never The speech. who need one einzeiliges Editfeld with this length? How wide is your Monitor. but OK, I have too since the constraint aufgehoben ...
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/08/11 ▲ |
|
|
|